Skip to content

Commit 2ea43c7

Browse files
Revert "datetimelike array revert changes"
This reverts commit e67ca27.
1 parent e67ca27 commit 2ea43c7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pandas/core/arrays/datetimelike.py

Lines changed: 1 addition & 6 deletions
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,11 +1835,6 @@ 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-
18431838
Notes
18441839
-----
18451840
If the timestamps have a timezone, {op}ing will take place relative to the

0 commit comments

Comments
 (0)