GMARTINEZMILLA commited on
Commit
28d005f
·
1 Parent(s): 524fe4d

feat: updated app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -208,6 +208,7 @@ elif page == "Customer Analysis":
208
  on=['cliente_id', 'marca_id_encoded', 'fecha_mes'],
209
  how='left')
210
  results.rename(columns={'precio_total': 'ventas_reales'}, inplace=True)
 
211
  st.write("### Final Results DataFrame:")
212
  st.write(results.head())
213
  st.write(f"Shape: {results.shape}")
 
208
  on=['cliente_id', 'marca_id_encoded', 'fecha_mes'],
209
  how='left')
210
  results.rename(columns={'precio_total': 'ventas_reales'}, inplace=True)
211
+ results['ventas_reales'].fillna(0, inplace=True)
212
  st.write("### Final Results DataFrame:")
213
  st.write(results.head())
214
  st.write(f"Shape: {results.shape}")