Skip to content

Commit e67ca27

Browse files
datetimelike array revert changes
1 parent 2f85256 commit e67ca27

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pandas/core/arrays/datetimelike.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -1797,7 +1797,7 @@ def strftime(self, date_format: str) -> npt.NDArray[np.object_]:
17971797
----------
17981798
freq : str or Offset
17991799
The frequency level to {op} the index to. Must be a fixed
1800-
frequency like 'S' (second) not 'ME' (month end). See
1800+
frequency like 's' (second) not 'ME' (month end). See
18011801
:ref:`frequency aliases <timeseries.offset_aliases>` for
18021802
a list of possible `freq` values.
18031803
ambiguous : 'infer', bool-ndarray, 'NaT', default 'raise'
@@ -1835,6 +1835,11 @@ def strftime(self, date_format: str) -> npt.NDArray[np.object_]:
18351835
------
18361836
ValueError if the `freq` cannot be converted.
18371837
1838+
See Also
1839+
--------
1840+
DatetimeIndex.floor : Perform floor operation on the data to the specified `freq`.
1841+
DatetimeIndex.snap : Snap time stamps to nearest occurring frequency.
1842+
18381843
Notes
18391844
-----
18401845
If the timestamps have a timezone, {op}ing will take place relative to the

0 commit comments

Comments
 (0)