Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ def display_csv(file_path, columns_to_display):
|
|
| 7 |
# Select only the specified columns
|
| 8 |
df_selected_columns = df[columns_to_display].sort_values(by=['avg_score']).reset_index(drop=True)
|
| 9 |
# Display the selected columns as a table
|
| 10 |
-
st.dataframe(df_selected_columns
|
| 11 |
|
| 12 |
def main():
|
| 13 |
# Hardcoded file path
|
|
|
|
| 7 |
# Select only the specified columns
|
| 8 |
df_selected_columns = df[columns_to_display].sort_values(by=['avg_score']).reset_index(drop=True)
|
| 9 |
# Display the selected columns as a table
|
| 10 |
+
st.dataframe(df_selected_columns, height=500, width=1000)
|
| 11 |
|
| 12 |
def main():
|
| 13 |
# Hardcoded file path
|