Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -649,14 +649,16 @@ def analyze_excel_single(file_path):
|
|
| 649 |
# Create consolidated table
|
| 650 |
# List of bucket columns
|
| 651 |
bucket_columns = [
|
| 652 |
-
"Stability",
|
| 653 |
-
"Development",
|
| 654 |
-
"Relationship",
|
| 655 |
-
"Benefit",
|
| 656 |
-
"Vision",
|
| 657 |
-
"Competence",
|
| 658 |
]
|
| 659 |
-
|
|
|
|
|
|
|
| 660 |
# Prepare lists to collect data
|
| 661 |
buckets = []
|
| 662 |
messages = []
|
|
|
|
| 649 |
# Create consolidated table
|
| 650 |
# List of bucket columns
|
| 651 |
bucket_columns = [
|
| 652 |
+
"Stability": "background-color: lightblue",
|
| 653 |
+
"Development": "background-color: lightgreen",
|
| 654 |
+
"Relationship": "background-color: lavender",
|
| 655 |
+
"Benefit": "background-color: lightyellow",
|
| 656 |
+
"Vision": "background-color: orange",
|
| 657 |
+
"Competence": "background-color: lightcoral",
|
| 658 |
]
|
| 659 |
+
df_builder_style = df_builder.style.apply(
|
| 660 |
+
lambda x: [bucket_colors.get(col, "") for col in x.index], axis=1
|
| 661 |
+
)
|
| 662 |
# Prepare lists to collect data
|
| 663 |
buckets = []
|
| 664 |
messages = []
|