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
Get rid of
add_leading_zero_PUMA
and implementinitialize_dataframe_geo_index
Calls to
add_leading_zero_PUMA
were replaced were calls toclean_PUMAs
asclean_PUMAs
has the same functionality.Calls of
pd.DataFrame
that initialize dataframes to hold agggregated info by PUMA/borough/citywide were replaced with calls toinitialize_dataframe_geo_index
which DRY's out this process