Converts the dates portion of the TimeSeries to another frequency.
The resulting TimeSeries will have the same shape and dimensions as the original series (unlike the convert method).
Parameters: | freq : {freq_spec} relation : {‘END’, ‘START’} (optional) |
---|---|
Returns: | A new TimeSeries with the :attr:`.dates` :class:`DateArray` at the : specified frequency (the :meth`.asfreq` method of the :attr:`.dates` : property will be called). : The data in the resulting series will be a VIEW of the original series. : |
Notes
The parameters are the exact same as for asfreq. Please see the docstring for that method for details on the parameters and how the actual conversion is performed.