Skip to content

Commit

Permalink
datetimelike array revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
annika-rudolph committed Apr 29, 2024
1 parent 2f85256 commit e67ca27
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pandas/core/arrays/datetimelike.py
Original file line number Diff line number Diff line change
Expand Up @@ -1797,7 +1797,7 @@ def strftime(self, date_format: str) -> npt.NDArray[np.object_]:
----------
freq : str or Offset
The frequency level to {op} the index to. Must be a fixed
frequency like 'S' (second) not 'ME' (month end). See
frequency like 's' (second) not 'ME' (month end). See
:ref:`frequency aliases <timeseries.offset_aliases>` for
a list of possible `freq` values.
ambiguous : 'infer', bool-ndarray, 'NaT', default 'raise'
Expand Down Expand Up @@ -1835,6 +1835,11 @@ def strftime(self, date_format: str) -> npt.NDArray[np.object_]:
------
ValueError if the `freq` cannot be converted.
See Also
--------
DatetimeIndex.floor : Perform floor operation on the data to the specified `freq`.
DatetimeIndex.snap : Snap time stamps to nearest occurring frequency.
Notes
-----
If the timestamps have a timezone, {op}ing will take place relative to the
Expand Down

0 comments on commit e67ca27

Please sign in to comment.