NYCPlanning / db-equitable-development-tool

Data Repo for the equitable development tool (EDDT)
MIT License
0 stars 0 forks source link

Refactors: replace outdated function and standardize initializing empty dataframe #218

Closed SashaWeinstein closed 2 years ago

SashaWeinstein commented 2 years ago

Get rid of add_leading_zero_PUMA and implement initialize_dataframe_geo_index

Calls to add_leading_zero_PUMA were replaced were calls to clean_PUMAs as clean_PUMAs has the same functionality.

Calls of pd.DataFrame that initialize dataframes to hold agggregated info by PUMA/borough/citywide were replaced with calls to initialize_dataframe_geo_index which DRY's out this process