GMARTINEZMILLA commited on
Commit
451098c
·
1 Parent(s): 5b8b198

feat: updated app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -253,6 +253,7 @@ elif page == "Customer Analysis":
253
 
254
  # Ensure all values are numeric
255
  sales_data_filtered = sales_data_filtered.apply(pd.to_numeric, errors='coerce')
 
256
 
257
  # Sort manufacturers by percentage of units and get top 10
258
  top_units = all_manufacturers.sort_values(by=all_manufacturers.columns[0], ascending=False).head(10)
 
253
 
254
  # Ensure all values are numeric
255
  sales_data_filtered = sales_data_filtered.apply(pd.to_numeric, errors='coerce')
256
+ all_manufacturers = all_manufacturers.apply(pd.to_numeric, errors='coerce')
257
 
258
  # Sort manufacturers by percentage of units and get top 10
259
  top_units = all_manufacturers.sort_values(by=all_manufacturers.columns[0], ascending=False).head(10)