Spaces:
Sleeping
Sleeping
Commit ·
d7e53f8
1
Parent(s): 669b9e3
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,12 +33,12 @@ def main():
|
|
| 33 |
|
| 34 |
# Display the converted ratings
|
| 35 |
st.subheader("Converted Ratings:")
|
| 36 |
-
st.dataframe(df[
|
| 37 |
|
| 38 |
# Download the converted ratings as CSV
|
| 39 |
st.download_button(
|
| 40 |
label="Download Converted Ratings",
|
| 41 |
-
data=df[
|
| 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 |
)
|