mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 01:54:18 -08:00
DoE LEAD References Need to be Updated (#976)
* replace temporary fieldnames that are not found and indexed * fixed field names * PR review * PR review - revert Co-authored-by: Saran Ahluwalia <sarahluw@cisco.com>
This commit is contained in:
parent
c5dff6e5f7
commit
19efdfeb4a
1 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ class DOEEnergyBurden(ExtractTransformLoad):
|
||||||
self.raw_df = pd.read_csv(
|
self.raw_df = pd.read_csv(
|
||||||
filepath_or_buffer=self.TMP_PATH
|
filepath_or_buffer=self.TMP_PATH
|
||||||
/ "doe_energy_burden"
|
/ "doe_energy_burden"
|
||||||
/ "DOE_LEAD_with_EJSCREEN.csv",
|
/ "DOE_LEAD_AMI_TRACT_2018_ALL.csv",
|
||||||
# The following need to remain as strings for all of their digits, not get converted to numbers.
|
# The following need to remain as strings for all of their digits, not get converted to numbers.
|
||||||
dtype={
|
dtype={
|
||||||
self.TRACT_INPUT_COLUMN_NAME: "string",
|
self.TRACT_INPUT_COLUMN_NAME: "string",
|
||||||
|
@ -56,7 +56,7 @@ class DOEEnergyBurden(ExtractTransformLoad):
|
||||||
|
|
||||||
output_df = self.raw_df.rename(
|
output_df = self.raw_df.rename(
|
||||||
columns={
|
columns={
|
||||||
"AvgEnergyBurden": self.ENERGY_BURDEN_FIELD_NAME,
|
"BURDEN": self.ENERGY_BURDEN_FIELD_NAME,
|
||||||
self.TRACT_INPUT_COLUMN_NAME: self.GEOID_TRACT_FIELD_NAME,
|
self.TRACT_INPUT_COLUMN_NAME: self.GEOID_TRACT_FIELD_NAME,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue