pastas.typing.types.OseriesSettingsDict#

class pastas.typing.types.OseriesSettingsDict#

Time series settings dictionary defining logic for filling and downsampling time series.

Parameters:
  • sample_down ({"drop", "mean", "sum", "min", "max"}) – Method for down-sampling time series (decreasing frequency, e.g. daily to weekly). - “drop”: Drop NaNs from time series. - “mean”: Resample by taking the mean. - “sum”: Resample by summing values. - “max”: Resample with maximum value. - “min”: Resample with minimum value.

  • fill_nan ({"drop", "mean", "interpolate"} or float) – Method for filling NaNs. - “drop”: Drop NaNs from time series. - “mean”: Fill NaNs with mean value of time series. - “interpolate”: Fill NaNs by interpolating between finite values. - float: Fill NaN with provided value, e.g. 0.0.