fschwartzer commited on
Commit
1cee5ae
1 Parent(s): 7d074fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -99,7 +99,7 @@ if not filtered_df.empty:
99
  else:
100
  col2.warning('No data available for the selected filters.')
101
 
102
- # Create a table in the third column
103
  col3 = st.columns(1) # You can use st.columns(1) to create a single column layout
104
 
105
  if not filtered_df.empty:
@@ -131,7 +131,7 @@ if not filtered_df.empty:
131
  table_data = pd.concat([table_data, total_row], ignore_index=True)
132
 
133
  # Display the table
134
- col3.table(table_data)
135
 
136
  else:
137
  col3.warning('No data available for the selected filters.')
 
99
  else:
100
  col2.warning('No data available for the selected filters.')
101
 
102
+ # Display the table in the third column
103
  col3 = st.columns(1) # You can use st.columns(1) to create a single column layout
104
 
105
  if not filtered_df.empty:
 
131
  table_data = pd.concat([table_data, total_row], ignore_index=True)
132
 
133
  # Display the table
134
+ st.table(table_data)
135
 
136
  else:
137
  col3.warning('No data available for the selected filters.')