Spaces:
Running
Running
Commit
•
fba8193
1
Parent(s):
c14dfea
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,8 @@ import streamlit as st
|
|
2 |
import pandas as pd
|
3 |
import numpy as np
|
4 |
|
|
|
|
|
5 |
df = pd.read_csv('last_results_5.csv')
|
6 |
|
7 |
image1 = 'images/rs_pmpa.PNG'
|
@@ -45,11 +47,13 @@ with st.sidebar:
|
|
45 |
# Filter the DataFrame based on selected values
|
46 |
filtered_df = df[(df['Instituição'] == selected_instituicao) & (df['Conta'] == selected_conta)]
|
47 |
|
|
|
|
|
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')
|
|
|
2 |
import pandas as pd
|
3 |
import numpy as np
|
4 |
|
5 |
+
st.set_page_config(layout="wide")
|
6 |
+
|
7 |
df = pd.read_csv('last_results_5.csv')
|
8 |
|
9 |
image1 = 'images/rs_pmpa.PNG'
|
|
|
47 |
# Filter the DataFrame based on selected values
|
48 |
filtered_df = df[(df['Instituição'] == selected_instituicao) & (df['Conta'] == selected_conta)]
|
49 |
|
50 |
+
col1, col2, col3 = st.columns(3) # This divides the page into three equal parts
|
51 |
+
|
52 |
# Set custom width for columns
|
53 |
+
#col1_width = 400
|
54 |
+
#col2_width = 400
|
55 |
+
#col3_width = 400
|
56 |
+
#col1, col2, col3 = st.columns([col1_width, col2_width, col3_width])
|
57 |
|
58 |
# Display the Forecasts values in the first column
|
59 |
col1.header('Valores previstos')
|