Skip to content

Commit

Permalink
revert documenatation of datetimelike array
Browse files Browse the repository at this point in the history
  • Loading branch information
annika-rudolph committed Apr 30, 2024
1 parent 55d7a32 commit d49d42c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pandas/core/arrays/datetimelike.py
Expand Up @@ -1798,7 +1798,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 @@ -1836,6 +1836,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 d49d42c

Please sign in to comment.