snowflake.snowpark.modin.plugin.extensions.resample_overrides.Resampler.fillna¶
- Resampler.fillna(method: str, limit: Optional[int] = None) Union[DataFrame, Series][source]¶
Fill missing values introduced by upsampling. Missing values that existed in the original data will not be modified.
- Parameters:
method ({'pad', 'backfill', 'ffill', 'bfill', 'nearest'}) – Method to use for filling holes in resampled data. Note that only ‘ffill’ and ‘pad’ are currently supported. ‘pad’ or ‘ffill’: use previous valid observation to fill gap (forward fill). ‘backfill’ or ‘bfill’: use next valid observation to fill gap. ‘nearest’: use nearest valid observation to fill gap.
limit (int, optional) – This parameter is not supported and will raise NotImplementedError.
- Returns:
An upsampled Series or
DataFramewith missing values filled.- Return type:
Examples