Skip to content

Commit 5531195

Browse files
authored
fix-ci-isocalendar (#46690)
1 parent f3f20ad commit 5531195

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
@@ -1328,15 +1328,14 @@ def date(self) -> npt.NDArray[np.object_]:
13281328

13291329
def isocalendar(self) -> DataFrame:
13301330
"""
1331-
Returns a DataFrame with the year, week, and day calculated according to
1332-
the ISO 8601 standard.
1331+
Calculate year, week, and day according to the ISO 8601 standard.
13331332
13341333
.. versionadded:: 1.1.0
13351334
13361335
Returns
13371336
-------
13381337
DataFrame
1339-
with columns year, week and day
1338+
With columns year, week and day.
13401339
13411340
See Also
13421341
--------

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)