Round dates up to fixed frequency. Parameters ---------- freq : str The frequency level to round the index to. Must be a fixed frequency like 'S' (second) not 'ME' (month end). See `frequency aliases <https://pandas.pydata.org/pandas-doc
(self, freq)
| 747 | return self._round_via_method(freq, _floor_int) |
| 748 | |
| 749 | def ceil(self, freq): |
| 750 | """Round dates up to fixed frequency. |
| 751 | |
| 752 | Parameters |
| 753 | ---------- |
| 754 | freq : str |
| 755 | The frequency level to round the index to. Must be a fixed |
| 756 | frequency like 'S' (second) not 'ME' (month end). See `frequency |
| 757 | aliases <https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`_ |
| 758 | for a list of possible values. |
| 759 | |
| 760 | Returns |
| 761 | ------- |
| 762 | CFTimeIndex |
| 763 | """ |
| 764 | return self._round_via_method(freq, _ceil_int) |
| 765 | |
| 766 | def round(self, freq): |
| 767 | """Round dates to a fixed frequency. |
no test coverage detected