Skip to content

Commit 5fbadf0

Browse files
committed
DOC: fix Series.name docstring, clsoes pandas-dev#42550
1 parent 9eec5bf commit 5fbadf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/series.py

+1-1
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)