Jesse-marqo commited on
Commit
8dc8812
·
verified ·
1 Parent(s): 227cd1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.sort_values(by=columns_to_display[0]), height=500, width=1000)
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