Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions pandas/core/arrays/datetimes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1328,15 +1328,14 @@ def date(self) -> npt.NDArray[np.object_]:

def isocalendar(self) -> DataFrame:
"""
Returns a DataFrame with the year, week, and day calculated according to
the ISO 8601 standard.
Calculate year, week, and day according to the ISO 8601 standard.

.. versionadded:: 1.1.0

Returns
-------
DataFrame
with columns year, week and day
With columns year, week and day.

See Also
--------
Expand Down
5 changes: 2 additions & 3 deletions pandas/core/indexes/accessors.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,15 +243,14 @@ def freq(self):

def isocalendar(self):
"""
Returns a DataFrame with the year, week, and day calculated according to
the ISO 8601 standard.
Calculate year, week, and day according to the ISO 8601 standard.

.. versionadded:: 1.1.0

Returns
-------
DataFrame
with columns year, week and day
With columns year, week and day.

See Also
--------
Expand Down