DataWizard9742 commited on
Commit
d7e53f8
·
1 Parent(s): 669b9e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,12 +33,12 @@ def main():
33
 
34
  # Display the converted ratings
35
  st.subheader("Converted Ratings:")
36
- st.dataframe(df[['Reviews', 'Rating']])
37
 
38
  # Download the converted ratings as CSV
39
  st.download_button(
40
  label="Download Converted Ratings",
41
- data=df[['Reviews', 'Rating']].to_csv(index=False),
42
  file_name="converted_ratings.csv",
43
  mime="text/csv"
44
  )
 
33
 
34
  # Display the converted ratings
35
  st.subheader("Converted Ratings:")
36
+ st.dataframe(df[Rating'])
37
 
38
  # Download the converted ratings as CSV
39
  st.download_button(
40
  label="Download Converted Ratings",
41
+ data=df[Rating'].to_csv(index=False),
42
  file_name="converted_ratings.csv",
43
  mime="text/csv"
44
  )