Spaces:
Running
Running
Commit
•
f17ebf3
1
Parent(s):
bd326b8
Update app.py
Browse files
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 |
-
|
|
|
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]
|