mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 10:04:18 -08:00
Update etl_score_geo.py
Yikes! Fixing merge messup!
This commit is contained in:
parent
97e17546cc
commit
94cdc47cce
1 changed files with 2 additions and 9 deletions
|
@ -285,28 +285,21 @@ class GeoScoreETL(ExtractTransformLoad):
|
||||||
|
|
||||||
def create_esri_codebook(codebook):
|
def create_esri_codebook(codebook):
|
||||||
"""temporary: helper to make a codebook for esri shapefile only"""
|
"""temporary: helper to make a codebook for esri shapefile only"""
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
shapefile_column_field = "shapefile_column"
|
shapefile_column_field = "shapefile_column"
|
||||||
internal_column_name_field = "column_name"
|
internal_column_name_field = "column_name"
|
||||||
column_description_field = "column_description"
|
column_description_field = "column_description"
|
||||||
|
|
||||||
=======
|
|
||||||
>>>>>>> 8c255f0e (Adding HOLC indicator (#1579))
|
|
||||||
logger.info("Creating a codebook that uses the csv names")
|
logger.info("Creating a codebook that uses the csv names")
|
||||||
codebook = (
|
codebook = (
|
||||||
pd.Series(codebook)
|
pd.Series(codebook)
|
||||||
.reset_index()
|
.reset_index()
|
||||||
.rename(
|
.rename(
|
||||||
# kept as strings because no downstream impacts
|
|
||||||
<<<<<<< HEAD
|
|
||||||
columns={
|
columns={
|
||||||
0: internal_column_name_field,
|
0: internal_column_name_field,
|
||||||
"index": shapefile_column_field,
|
"index": shapefile_column_field,
|
||||||
}
|
}
|
||||||
=======
|
|
||||||
columns={0: "column_name", "index": "shapefile_column"}
|
|
||||||
>>>>>>> 8c255f0e (Adding HOLC indicator (#1579))
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue