preheat_open.measurements.PostProcess
- class preheat_open.measurements.PostProcess(method, params=<factory>)
Bases:
objectPost-processes a DataFrame after mapping.
- Variables:
func (Callable) – The function to apply to the DataFrame.
- __init__(method, params=<factory>)
Methods
__init__(method[, params])apply(df)Applies the post-processing function to a DataFrame.
Attributes
methodparams- apply(df)
Applies the post-processing function to a DataFrame.
- Parameters:
df (pd.DataFrame) – The DataFrame to apply the function to.
- Returns:
The processed DataFrame.
- Return type:
pd.DataFrame