Skip to content

Commit

Permalink
updated to fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
emma-nechamkin committed Aug 11, 2022
1 parent dcda155 commit 242f6ec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions data/data-pipeline/data_pipeline/etl/score/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,10 @@
# These are the booleans for socioeconomic indicators
## this measures low income boolean
field_names.FPL_200_SERIES: "FPL200S",
## Low high school and low higher ed for t&wd
## Low high school for t&wd
field_names.WORKFORCE_SOCIO_INDICATORS_EXCEEDED: "M_WKFC_EBSI",
## FPL 200 and low higher ed for all others
field_names.FPL_200_SERIES: "M_EBSI",
## FPL 200 and low higher ed for all others should no longer be M_EBSI, but rather
## FPL_200 (there is no higher ed in narwhal)
}

# columns to round floats to 2 decimals
Expand Down
1 change: 0 additions & 1 deletion data/data-pipeline/data_pipeline/etl/score/etl_score.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import functools
from collections import namedtuple
from attr import field

import numpy as np
import pandas as pd
Expand Down
3 changes: 1 addition & 2 deletions data/data-pipeline/data_pipeline/etl/score/etl_score_geo.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def create_esri_codebook(codebook):
shapefile_column_field = "shapefile_column"
internal_column_name_field = "column_name"
column_description_field = "column_description"

logger.info("Creating a codebook that uses the csv names")
codebook = (
pd.Series(codebook)
Expand All @@ -299,7 +299,6 @@ def create_esri_codebook(codebook):
0: internal_column_name_field,
"index": shapefile_column_field,
}

)
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import List, NamedTuple
import pandas as pd
import geopandas as gpd
import numpy as np

from data_pipeline.utils import get_module_logger

Expand Down

0 comments on commit 242f6ec

Please sign in to comment.