rename other to supporting

This commit is contained in:
Debby
2026-04-02 07:54:23 +07:00
parent ffd8cdf65e
commit ba4927f620
3 changed files with 46 additions and 31 deletions

View File

@@ -374,7 +374,7 @@ class DimensionalModelLoader:
]):
return 'Infrastructure'
else:
return 'Other'
return 'Supporting'
dim_indicator['indicator_category'] = dim_indicator['indicator_name'].apply(
categorize_indicator
)
@@ -503,10 +503,10 @@ class DimensionalModelLoader:
try:
pillar_codes = {
'Availability': 'AVL', 'Access' : 'ACC',
'Utilization' : 'UTL', 'Stability': 'STB', 'Other': 'OTH',
'Utilization' : 'UTL', 'Stability': 'STB', 'Supporting': 'SPT',
}
pillars_data = [
{'pillar_name': p, 'pillar_code': pillar_codes.get(p, 'OTH')}
{'pillar_name': p, 'pillar_code': pillar_codes.get(p, 'SPT')}
for p in self.df_clean['pillar'].unique()
]