Wajahat698 commited on
Commit
c728b7d
·
verified ·
1 Parent(s): b09dacc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -7
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 = []