fschwartzer commited on
Commit
f17ebf3
1 Parent(s): bd326b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -48,7 +48,8 @@ filtered_df = df[(df['Instituição'] == selected_instituicao) & (df['Conta'] ==
48
  # Set custom width for columns
49
  col1_width = 400
50
  col2_width = 400
51
- col1, col2 = st.columns([col1_width, col2_width])
 
52
 
53
  # Display the Forecasts values in the first column
54
  col1.header('Valores previstos')
@@ -100,8 +101,9 @@ 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:
106
  # Filter the DataFrame for the selected institution
107
  tab_df = df[df['Instituição'] == selected_instituicao]
 
48
  # Set custom width for columns
49
  col1_width = 400
50
  col2_width = 400
51
+ col3_width = 400
52
+ col1, col2, col3 = st.columns([col1_width, col2_width, col3_width])
53
 
54
  # Display the Forecasts values in the first column
55
  col1.header('Valores previstos')
 
101
  col2.warning('No data available for the selected filters.')
102
 
103
  # Display the table in the third column
104
+ #col3 = st.columns(1) # You can use st.columns(1) to create a single column layout
105
 
106
+ col3.header('Resultados')
107
  if not filtered_df.empty:
108
  # Filter the DataFrame for the selected institution
109
  tab_df = df[df['Instituição'] == selected_instituicao]