Spaces:
Sleeping
Sleeping
GMARTINEZMILLA
commited on
Commit
•
7c78777
1
Parent(s):
8f6cb18
feat: Added about section underneath table in col 3
Browse files
app.py
CHANGED
@@ -271,7 +271,7 @@ if page == "📃 Resumen":
|
|
271 |
)}
|
272 |
)
|
273 |
# Calculate sales insights
|
274 |
-
sales_min = ventas_clientes['total_sales'].min()
|
275 |
sales_max = ventas_clientes['total_sales'].max()
|
276 |
sales_median = ventas_clientes['total_sales'].median()
|
277 |
sales_90th = ventas_clientes['total_sales'].quantile(0.9)
|
|
|
271 |
)}
|
272 |
)
|
273 |
# Calculate sales insights
|
274 |
+
sales_min = ventas_clientes[ventas_clientes['total_sales'] > 0]['total_sales'].min()
|
275 |
sales_max = ventas_clientes['total_sales'].max()
|
276 |
sales_median = ventas_clientes['total_sales'].median()
|
277 |
sales_90th = ventas_clientes['total_sales'].quantile(0.9)
|