Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -684,6 +684,10 @@ def analyze_excel_single(file_path):
|
|
| 684 |
"TrustBuilders®": messages,
|
| 685 |
"%": percentages,
|
| 686 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 687 |
|
| 688 |
|
| 689 |
# Define the order of the Trust Bucket® categories
|
|
|
|
| 684 |
"TrustBuilders®": messages,
|
| 685 |
"%": percentages,
|
| 686 |
}
|
| 687 |
+
df_builder_pivot = pd.DataFrame(builder_consolidated).style.applymap(
|
| 688 |
+
lambda _: f"background-color: {bucket_colors.get(_, '')}",
|
| 689 |
+
subset=list(bucket_colors.keys())
|
| 690 |
+
)
|
| 691 |
|
| 692 |
|
| 693 |
# Define the order of the Trust Bucket® categories
|