Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -725,8 +725,7 @@ def analyze_excel_single(file_path):
|
|
| 725 |
bucket = row["Trust Bucket®"]
|
| 726 |
color = bucket_colors.get(bucket, "#FFFFFF")
|
| 727 |
return [f"background-color: {color}" for _ in row.index
|
| 728 |
-
|
| 729 |
-
styled_table.set_table_attributes('style="font-size: 14px; border-collapse: collapse;"').to_html("styled_table.html")
|
| 730 |
|
| 731 |
|
| 732 |
|
|
|
|
| 725 |
bucket = row["Trust Bucket®"]
|
| 726 |
color = bucket_colors.get(bucket, "#FFFFFF")
|
| 727 |
return [f"background-color: {color}" for _ in row.index
|
| 728 |
+
df_builder_pivot.style.apply(apply_bucket_color, axis=1)
|
|
|
|
| 729 |
|
| 730 |
|
| 731 |
|