pastas.timeseries_utils.pandas_equidistant_sample ================================================= .. py:function:: pastas.timeseries_utils.pandas_equidistant_sample(series: pandas.Series, freq: str) -> pandas.Series Create equidistant time series creating a new DateTimeIndex with pandas.reindex. Note: function attempts to pick an offset relative to freq such that the maximum number of observations is included in the sample. :param series: time series :type series: pandas Series :param freq: frequency str :type freq: str :returns: equidistant time series with frequency 'freq' :rtype: Series .. !! processed by numpydoc !!