Change column name (#1851)

This commit is contained in:
matt bowen 2022-09-27 12:46:23 -04:00
parent ee97b65dda
commit 68cd3fae64
3 changed files with 2 additions and 3 deletions

View file

@ -658,7 +658,7 @@ class ScoreETL(ExtractTransformLoad):
].mean(axis=1, skipna=True)
# For AS, MP, GU, and VI, backfill data from the 2010 census where we have it
df_copy = self._backfill_island_data(df_copy)
# df_copy = self._backfill_island_data(df_copy)
return df_copy

View file

@ -481,7 +481,6 @@ class CensusDecennialETL(ExtractTransformLoad):
output_field_name = (
field_names.PERCENT_PREFIX
+ race_field_name
+ field_names.ISLAND_AREA_BACKFILL_SUFFIX
)
self.final_race_fields.append(output_field_name)
self.df_all[output_field_name] = (

View file

@ -3,7 +3,7 @@ PERCENTILE_FIELD_SUFFIX = " (percentile)"
ISLAND_AREAS_PERCENTILE_ADJUSTMENT_FIELD = " for island areas"
ADJACENT_MEAN_SUFFIX = " (based on adjacency index and low income alone)"
ADJACENCY_INDEX_SUFFIX = " (average of neighbors)"
ISLAND_AREA_BACKFILL_SUFFIX = " (2010 census data backfill)"
ISLAND_AREA_BACKFILL_SUFFIX = "in 2009"
# Geographic field names
GEOID_TRACT_FIELD = "GEOID10_TRACT"