Spaces:
Sleeping
Sleeping
GMARTINEZMILLA
commited on
Commit
•
3272ad3
1
Parent(s):
892caee
feat: updated website
Browse files
app.py
CHANGED
@@ -403,8 +403,8 @@ elif page == "Customer Analysis":
|
|
403 |
manufacturers = [get_supplier_name(m) for m in manufacturers_to_show.index]
|
404 |
|
405 |
# st.write(f"### Results for top {len(manufacturers)} manufacturers:")
|
406 |
-
for manufacturer, value, amount in zip(manufacturers, values, amounts):
|
407 |
-
|
408 |
|
409 |
if manufacturers: # Only create the chart if we have data
|
410 |
fig = radar_chart(manufacturers, values, amounts, f'Radar Chart for Top {len(manufacturers)} Manufacturers of Customer {customer_code}')
|
|
|
403 |
manufacturers = [get_supplier_name(m) for m in manufacturers_to_show.index]
|
404 |
|
405 |
# st.write(f"### Results for top {len(manufacturers)} manufacturers:")
|
406 |
+
# for manufacturer, value, amount in zip(manufacturers, values, amounts):
|
407 |
+
# (f"{manufacturer} = {value:.2f}% of units, €{amount:.2f} total sales")
|
408 |
|
409 |
if manufacturers: # Only create the chart if we have data
|
410 |
fig = radar_chart(manufacturers, values, amounts, f'Radar Chart for Top {len(manufacturers)} Manufacturers of Customer {customer_code}')
|