hibou.filters.co2_thresholding#

hibou.filters.co2_thresholding(inputs: DataFrame, targets: DataFrame, min_value: float = -10, max_value: float = 10)#

Only keep Targets.CO2 values that are into the given interval.

Parameters#

inputspd.DataFrame

The pd.DataFrame that contains the inputs data.

targetspd.DataFrame

The pd.DataFrame that contains the targets data.

min_valueint, optionnal

By default: -10. The value of Targets.CO2 below which the data will be ignored.

max_valueint, optionnal

By default: 10. The value of Targets.CO2 above which the data will be ignored.

Variables used#

  • Target.CO2