synthpop.modules.post_processing._post_processing
Base class for post-processing.
Classes
Base class for post-processing, for catalog modifications after the |
Module Contents
- class synthpop.modules.post_processing._post_processing.PostProcessing(model: types.ModuleType = None, logger: types.ModuleType = None, sun: types.ModuleType = None, **kwargs)
Base class for post-processing, for catalog modifications after the regular SynthPop generation process has completed.
- model = None
- logger = None
- sun = None
- do_post_processing(dataframe: pandas.DataFrame) pandas.DataFrame
This is a placeholder for the postprocessing. It must accept the pandas data frame and must return a pandas data frame.
Parameters
- dataframedataframe
original SynthPop output as pandas data frame
Returns
- dataframedataframe
modified pandas data frame