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]
|
| 9 |
# Display the selected columns as a table
|
| 10 |
-
st.
|
| 11 |
|
| 12 |
def main():
|
| 13 |
# Hardcoded file path
|
|
|
|
| 7 |
# Select only the specified columns
|
| 8 |
df_selected_columns = df[columns_to_display]
|
| 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
|