diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py index e40acad0cb51a..b1c19ab7c0476 100644 --- a/pandas/core/arrays/datetimes.py +++ b/pandas/core/arrays/datetimes.py @@ -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 -------- diff --git a/pandas/core/indexes/accessors.py b/pandas/core/indexes/accessors.py index 26748a4342bb6..8694ad94dae26 100644 --- a/pandas/core/indexes/accessors.py +++ b/pandas/core/indexes/accessors.py @@ -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 --------