rename other to supporting
This commit is contained in:
@@ -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()
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user