Update etl_score_geo.py

Yikes! Fixing merge messup!
This commit is contained in:
Emma Nechamkin 2022-08-11 09:50:44 -04:00 committed by Emma Nechamkin
parent 97e17546cc
commit 94cdc47cce

View file

@ -285,28 +285,21 @@ class GeoScoreETL(ExtractTransformLoad):
def create_esri_codebook(codebook):
"""temporary: helper to make a codebook for esri shapefile only"""
<<<<<<< HEAD
shapefile_column_field = "shapefile_column"
internal_column_name_field = "column_name"
column_description_field = "column_description"
=======
>>>>>>> 8c255f0e (Adding HOLC indicator (#1579))
logger.info("Creating a codebook that uses the csv names")
codebook = (
pd.Series(codebook)
.reset_index()
.rename(
# kept as strings because no downstream impacts
<<<<<<< HEAD
columns={
0: internal_column_name_field,
"index": shapefile_column_field,
}
=======
columns={0: "column_name", "index": "shapefile_column"}
>>>>>>> 8c255f0e (Adding HOLC indicator (#1579))
)
)