ombhojane commited on
Commit
4e4ea7e
1 Parent(s): ee69526

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
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
+ )