Interpolate Preprocessing
This module allows easy pre-processing of data.
- flood_forecast.preprocessing.interpolate_preprocess.fix_timezones(df: DataFrame) DataFrame [source]
Basic function to fix initil data bug related to NaN values in non-eastern-time zones due to UTC conversion.
- flood_forecast.preprocessing.interpolate_preprocess.interpolate_missing_values(df: DataFrame) DataFrame [source]
Function to fill missing values with nearest value.
Should be run only after splitting on the NaN chunks.