synthpop.modules.post_processing.combined_csv

Post-processing subclass that saves the result from all locations in a combined csv file.

Classes

CombinedCsv

Post-processing subclass that saves the result from all locations in a combined csv file.

Module Contents

class synthpop.modules.post_processing.combined_csv.CombinedCsv(model, logger, combined_filename=None, **kwargs)

Bases: synthpop.modules.post_processing._post_processing.PostProcessing

Post-processing subclass that saves the result from all locations in a combined csv file. This is in addition to the single location files.

NOTE that the file is overwritten every time the class is initialized.

do_post_processing(dataframe: pandas.DataFrame) pandas.DataFrame

Combine all catalogs into one output csv file, and returns the unchanged DataFrame.