Skip to content

Commit

Permalink
Update per code review (#1518)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbowen-usds committed Aug 10, 2022
1 parent 9e5a802 commit 3776e24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ datasets:
field_type: float
include_in_downloadable_files: true
include_in_tiles: true
- long_name: "Exaple ETL"
- long_name: "Example ETL"
short_name: "Example"
module_name: "example_dataset"
input_geoid_tract_field_name: "GEOID10_TRACT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self):
self.output_df: pd.DataFrame

def transform(self) -> None:
logger.info("Starting transforms.")
logger.info("Starting DOE Energy Burden transforms.")
raw_df: pd.DataFrame = pd.read_csv(
filepath_or_buffer=self.get_tmp_path()
/ "DOE_LEAD_AMI_TRACT_2018_ALL.csv",
Expand All @@ -39,6 +39,7 @@ def transform(self) -> None:
low_memory=False,
)

logger.info("Renaming columns and ensuring output format is correct")
output_df = raw_df.rename(
columns={
self.INPUT_ENERGY_BURDEN_FIELD_NAME: self.REVISED_ENERGY_BURDEN_FIELD_NAME,
Expand Down

0 comments on commit 3776e24

Please sign in to comment.