Skip to content

Commit 5432af2

Browse files
Backport PR #46690: CI fix-ci-isocalendar (#46720)
Co-authored-by: Marco Edward Gorelli <[email protected]>
1 parent 00934f6 commit 5432af2

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

pandas/core/arrays/datetimes.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -1342,15 +1342,14 @@ def date(self) -> npt.NDArray[np.object_]:
13421342

13431343
def isocalendar(self) -> DataFrame:
13441344
"""
1345-
Returns a DataFrame with the year, week, and day calculated according to
1346-
the ISO 8601 standard.
1345+
Calculate year, week, and day according to the ISO 8601 standard.
13471346
13481347
.. versionadded:: 1.1.0
13491348
13501349
Returns
13511350
-------
13521351
DataFrame
1353-
with columns year, week and day
1352+
With columns year, week and day.
13541353
13551354
See Also
13561355
--------

pandas/core/indexes/accessors.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -243,15 +243,14 @@ def freq(self):
243243

244244
def isocalendar(self):
245245
"""
246-
Returns a DataFrame with the year, week, and day calculated according to
247-
the ISO 8601 standard.
246+
Calculate year, week, and day according to the ISO 8601 standard.
248247
249248
.. versionadded:: 1.1.0
250249
251250
Returns
252251
-------
253252
DataFrame
254-
with columns year, week and day
253+
With columns year, week and day.
255254
256255
See Also
257256
--------

0 commit comments

Comments
 (0)