Spaces:
Sleeping
Sleeping
GMARTINEZMILLA
commited on
Commit
•
2d063f3
1
Parent(s):
33e015e
feat: Translated Summary to Spanish
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ historical_data = pd.read_csv('historical_data.csv')
|
|
72 |
|
73 |
with st.sidebar:
|
74 |
st.sidebar.title("DeepInsightz")
|
75 |
-
page = st.sidebar.selectbox("
|
76 |
|
77 |
# Generamos la columna total_sales
|
78 |
ventas_clientes['total_sales'] = ventas_clientes[['VENTA_2021', 'VENTA_2022', 'VENTA_2023']].sum(axis=1)
|
@@ -236,7 +236,7 @@ if page == "Resumen":
|
|
236 |
y='PC2',
|
237 |
z='PC3',
|
238 |
color='cluster_id',
|
239 |
-
hover_name='
|
240 |
)
|
241 |
fig_cluster.update_layout(
|
242 |
scene=dict(aspectratio=dict(x=1, y=1, z=0.8)), # Adjusted aspect ratio for better balance
|
|
|
72 |
|
73 |
with st.sidebar:
|
74 |
st.sidebar.title("DeepInsightz")
|
75 |
+
page = st.sidebar.selectbox("Selecciona la herramienta que quieres utilizar...", ["Resumen", "Análisis de Cliente", "Articles Recommendations"])
|
76 |
|
77 |
# Generamos la columna total_sales
|
78 |
ventas_clientes['total_sales'] = ventas_clientes[['VENTA_2021', 'VENTA_2022', 'VENTA_2023']].sum(axis=1)
|
|
|
236 |
y='PC2',
|
237 |
z='PC3',
|
238 |
color='cluster_id',
|
239 |
+
hover_name='CustomerID',
|
240 |
)
|
241 |
fig_cluster.update_layout(
|
242 |
scene=dict(aspectratio=dict(x=1, y=1, z=0.8)), # Adjusted aspect ratio for better balance
|