Skip to content

Commit 195a9a5

Browse files
datetimelike array revert changes
1 parent 66e3c12 commit 195a9a5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pandas/core/arrays/datetimelike.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1792,7 +1792,7 @@ def strftime(self, date_format: str) -> npt.NDArray[np.object_]:
17921792
----------
17931793
freq : str or Offset
17941794
The frequency level to {op} the index to. Must be a fixed
1795-
frequency like 'S' (second) not 'ME' (month end). See
1795+
frequency like 's' (second) not 'ME' (month end). See
17961796
:ref:`frequency aliases <timeseries.offset_aliases>` for
17971797
a list of possible `freq` values.
17981798
ambiguous : 'infer', bool-ndarray, 'NaT', default 'raise'
@@ -1830,6 +1830,11 @@ def strftime(self, date_format: str) -> npt.NDArray[np.object_]:
18301830
------
18311831
ValueError if the `freq` cannot be converted.
18321832
1833+
See Also
1834+
--------
1835+
DatetimeIndex.floor : Perform floor operation on the data to the specified `freq`.
1836+
DatetimeIndex.snap : Snap time stamps to nearest occurring frequency.
1837+
18331838
Notes
18341839
-----
18351840
If the timestamps have a timezone, {op}ing will take place relative to the

0 commit comments

Comments
 (0)