Skip to content

Commit

Permalink
fix-ci-isocalendar (#46690)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli authored Apr 8, 2022
1 parent f3f20ad commit 5531195
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
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

0 comments on commit 5531195

Please sign in to comment.