Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
79f517d
1
Parent(s):
d86e4d8
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ filtered_df = pd.concat(adjusted_rows)
|
|
95 |
#col1, col2, col3 = st.columns(3) # This divides the page into three equal parts
|
96 |
|
97 |
# Set custom width for columns
|
98 |
-
col1, col2, col3 = st.columns([
|
99 |
|
100 |
# Display the Forecasts values in the first column
|
101 |
col1.header('Composição da RLIT')
|
@@ -294,7 +294,7 @@ if not filtered_df.empty:
|
|
294 |
st.error(f"Error in processing data: {str(e)}")
|
295 |
|
296 |
else:
|
297 |
-
|
298 |
|
299 |
|
300 |
data = {
|
@@ -309,7 +309,7 @@ df = pd.DataFrame(data, index=index_names).reset_index().melt(id_vars='index', v
|
|
309 |
|
310 |
# Create the bar chart
|
311 |
fig = px.bar(df, x='index', y='Value', color='Period', barmode='group')
|
312 |
-
|
313 |
|
314 |
st.markdown("""
|
315 |
<b>Observação:</b> Previsões realizadas com dados extraídos do Relatório Resumido de Execução Orçamentária (RREO) até o 6º bimestre de 2023 no Sistema de Informações Contábeis e Fiscais do Setor Público Brasileiro (SICONFI).
|
|
|
95 |
#col1, col2, col3 = st.columns(3) # This divides the page into three equal parts
|
96 |
|
97 |
# Set custom width for columns
|
98 |
+
col1, col2, col3 = st.columns([2,1,1])
|
99 |
|
100 |
# Display the Forecasts values in the first column
|
101 |
col1.header('Composição da RLIT')
|
|
|
294 |
st.error(f"Error in processing data: {str(e)}")
|
295 |
|
296 |
else:
|
297 |
+
col5.warning('No data available for the selected filters.')
|
298 |
|
299 |
|
300 |
data = {
|
|
|
309 |
|
310 |
# Create the bar chart
|
311 |
fig = px.bar(df, x='index', y='Value', color='Period', barmode='group')
|
312 |
+
col4.write(fig)
|
313 |
|
314 |
st.markdown("""
|
315 |
<b>Observação:</b> Previsões realizadas com dados extraídos do Relatório Resumido de Execução Orçamentária (RREO) até o 6º bimestre de 2023 no Sistema de Informações Contábeis e Fiscais do Setor Público Brasileiro (SICONFI).
|