synthpop.modules.post_processing._post_processing ================================================= .. py:module:: synthpop.modules.post_processing._post_processing .. autoapi-nested-parse:: Base class for post-processing. Classes ------- .. autoapisummary:: synthpop.modules.post_processing._post_processing.PostProcessing Module Contents --------------- .. py:class:: 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. .. py:attribute:: model :value: None .. py:attribute:: logger :value: None .. py:attribute:: sun :value: None .. py:method:: 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 ---------- dataframe : dataframe original SynthPop output as pandas data frame Returns ------- dataframe : dataframe modified pandas data frame