model.data_handler

Super class to contain and manage data

class DataHandler:
DataHandler()
def clean_nan(dataframe):

It replaces NaN values by 0

def to_json( self, regions: List[str] = None, clean_nan=<function DataHandler.clean_nan>):