hibou.filters.co2_quality#

hibou.filters.co2_quality(inputs: DataFrame, targets: DataFrame, bad_value: int = 2)#

Only keep Targets.CO2 values whose Targets.CO2_QUALITY_FLAG is strictly less than bad_value.

Parameters#

inputspd.DataFrame

The pd.DataFrame that contains the inputs data.

targetspd.DataFrame

The pd.DataFrame that contains the targets data.

bad_valueint, optionnal

By default: 2. The value of Targets.CO2_QUALITY_FLAG above which the data will be

Variables used#

  • Targets.CO2_QUALITY_FLAG