Skip to content

Commit

Permalink
Change column name (#1851)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbowen-usds committed Sep 27, 2022
1 parent ee97b65 commit 68cd3fa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/data-pipeline/data_pipeline/etl/score/etl_score.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ class ReversePercentile:
].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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,6 @@ def transform(self) -> None:
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] = (
Expand Down
2 changes: 1 addition & 1 deletion data/data-pipeline/data_pipeline/score/field_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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"
Expand Down

0 comments on commit 68cd3fa

Please sign in to comment.