Skip to content

Commit 68305c1

Browse files
authored
DOC: fix Series.name docstring, closes #42550 (#51310)
DOC: fix Series.name docstring, clsoes #42550
1 parent b7cbea1 commit 68305c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/series.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ class Series(base.IndexOpsMixin, NDFrame): # type: ignore[misc]
268268
Data type for the output Series. If not specified, this will be
269269
inferred from `data`.
270270
See the :ref:`user guide <basics.dtypes>` for more usages.
271-
name : str, optional
271+
name : Hashable, default None
272272
The name to give to the Series.
273273
copy : bool, default False
274274
Copy input data. Only affects Series or 1d ndarray input. See examples.

0 commit comments

Comments
 (0)