Spaces:
Sleeping
Sleeping
GMARTINEZMILLA
commited on
Commit
•
3d8a22e
1
Parent(s):
3272ad3
feat: updated website
Browse files
app.py
CHANGED
@@ -421,10 +421,10 @@ elif page == "Customer Analysis":
|
|
421 |
# Ensure customer_code is a string and strip any spaces
|
422 |
customer_code = str(customer_code).strip()
|
423 |
|
424 |
-
if customer_code in ventas_clientes['codigo_cliente'].unique():
|
425 |
-
|
426 |
-
else:
|
427 |
-
|
428 |
|
429 |
# Customer sales 2021-2024 (if data exists)
|
430 |
sales_columns = ['VENTA_2021', 'VENTA_2022', 'VENTA_2023']
|
|
|
421 |
# Ensure customer_code is a string and strip any spaces
|
422 |
customer_code = str(customer_code).strip()
|
423 |
|
424 |
+
# if customer_code in ventas_clientes['codigo_cliente'].unique():
|
425 |
+
# (f"Customer {customer_code} found in ventas_clientes")
|
426 |
+
# else:
|
427 |
+
# (f"Customer {customer_code} not found in ventas_clientes")
|
428 |
|
429 |
# Customer sales 2021-2024 (if data exists)
|
430 |
sales_columns = ['VENTA_2021', 'VENTA_2022', 'VENTA_2023']
|