Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,3 +19,10 @@ if uploaded_file is not None:
|
|
19 |
|
20 |
# Display the dataframe as a table
|
21 |
st.write(df)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
# Display the dataframe as a table
|
21 |
st.write(df)
|
22 |
+
|
23 |
+
st.download_button(
|
24 |
+
label="Download CSV",
|
25 |
+
data=df.to_csv(index=False).encode('utf-8'),
|
26 |
+
file_name='table.csv',
|
27 |
+
mime='text/csv',
|
28 |
+
)
|