Skip to content

Commit 74071e5

Browse files
committed
DOC: Simplify docstrings by describing only the type returned
Also, fixes confusing `month_index` return name in `day_name()` method.
1 parent 6b83df9 commit 74071e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/arrays/datetimes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ def month_name(self, locale=None):
800800
801801
Returns
802802
-------
803-
month_names : Index
803+
Index
804804
Index of month names
805805
806806
.. versionadded:: 0.23.0
@@ -826,7 +826,7 @@ def day_name(self, locale=None):
826826
827827
Returns
828828
-------
829-
month_names : Index
829+
Index
830830
Index of day names
831831
832832
.. versionadded:: 0.23.0

0 commit comments

Comments
 (0)