Closed hamishgibbs closed 3 years ago
Currently - individual records are being converted to a dataframe and then concatenated together.
This is very inefficient.
Should be replaced by converting the entire list of record-oriented dicts to a DataFrame in a single step.
https://github.com/lshtm-gis/WHO_PHSM_Cleaning/blob/f746f5f4c014c8ebf3ad002ffdc931274481d82f/src/process.py#L67-L73
Added in #129.
Currently - individual records are being converted to a dataframe and then concatenated together.
This is very inefficient.
Should be replaced by converting the entire list of record-oriented dicts to a DataFrame in a single step.
https://github.com/lshtm-gis/WHO_PHSM_Cleaning/blob/f746f5f4c014c8ebf3ad002ffdc931274481d82f/src/process.py#L67-L73