Skip to content

Commit 3bac59a

Browse files
committed
Remove unnecessary cols
1 parent c5aa2cd commit 3bac59a

File tree

3 files changed

+47476
-47475
lines changed

3 files changed

+47476
-47475
lines changed

_delphi_utils_python/data_proc/geomap/geo_data_proc.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ def derive_fips_hhs_crosswalk():
553553
fips_pop["state_code"] = fips_pop["fips"].str[:2]
554554
(
555555
fips_pop.merge(state_hhs, on="state_code", how="left")
556-
.drop(columns="pop")
556+
.drop(columns=["state_code", "pop"])
557557
.to_csv(join(OUTPUT_DIR, FIPS_HHS_FILENAME), index=False)
558558
)
559559

@@ -578,6 +578,7 @@ def derive_zip_hhs_crosswalk():
578578

579579
(
580580
zip_state.merge(state_hhs, on="state_code", how="left")
581+
.drop(columns=["state_code", "state_id", "state_name"])
581582
.to_csv(join(OUTPUT_DIR, ZIP_HHS_FILENAME), index=False)
582583
)
583584

0 commit comments

Comments
 (0)