mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-30 12:51:17 -07:00
Issue 675 & 676: Adding life expectancy and DOE energy burden data (#683)
* Adding two new data sources.
This commit is contained in:
parent
fc5ed37fca
commit
e94d05882c
10 changed files with 240 additions and 26 deletions
|
@ -100,7 +100,9 @@ class CensusACSETL(ExtractTransformLoad):
|
|||
]
|
||||
|
||||
# Handle null values for CBG median income, which are `-666666666`.
|
||||
missing_value_count = sum(self.df[self.MEDIAN_INCOME_FIELD_NAME]==-666666666)
|
||||
missing_value_count = sum(
|
||||
self.df[self.MEDIAN_INCOME_FIELD_NAME] == -666666666
|
||||
)
|
||||
logger.info(
|
||||
f"There are {missing_value_count} ({int(100*missing_value_count/self.df[self.MEDIAN_INCOME_FIELD_NAME].count())}%) values of "
|
||||
+ f"`{self.MEDIAN_INCOME_FIELD_NAME}` being marked as null values."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue