pastas.timeseries_utils.pandas_equidistant_nearest ================================================== .. py:function:: pastas.timeseries_utils.pandas_equidistant_nearest(series: pandas.Series, freq: str, tolerance: str | None = None) -> pandas.Series Create equidistant time series using pandas.reindex with method='nearest'. Note: this method will shift observations in time and can introduce duplicate observations. :param series: time series. :type series: str :param freq: frequency string. :type freq: str :param tolerance: frequency type string (e.g. '7D') specifying maximum distance between original and new labels for inexact matches. :type tolerance: str, optional :returns: equidistant time series with frequency 'freq' :rtype: Series .. !! processed by numpydoc !!