GMARTINEZMILLA commited on
Commit
d9d4d22
1 Parent(s): 2dcb361

feat: updated website

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -363,8 +363,8 @@ elif page == "Customer Analysis":
363
  results['ventas_reales'].fillna(0, inplace=True)
364
 
365
  # Define the cutoff date for the last 12 months
366
- fecha_corte = pd.to_datetime("2023-01-01") # Adjust as needed
367
- fecha_inicio = fecha_corte - pd.DateOffset(months=21)
368
 
369
  historical_data['fecha_mes'] = pd.to_datetime(historical_data['fecha_mes'], errors='coerce')
370
 
 
363
  results['ventas_reales'].fillna(0, inplace=True)
364
 
365
  # Define the cutoff date for the last 12 months
366
+ fecha_inicio = pd.to_datetime("2023-01-01")
367
+ fecha_corte = pd.to_datetime("2024-09-01")
368
 
369
  historical_data['fecha_mes'] = pd.to_datetime(historical_data['fecha_mes'], errors='coerce')
370