Skip to content

Commit d49d42c

Browse files
revert documenatation of datetimelike array
1 parent 55d7a32 commit d49d42c

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

0 commit comments

Comments
 (0)