From 5fbadf040c53dd0e79734667394e09c299aa3b11 Mon Sep 17 00:00:00 2001 From: Brock Date: Thu, 9 Feb 2023 16:40:40 -0800 Subject: [PATCH] DOC: fix Series.name docstring, clsoes #42550 --- pandas/core/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/series.py b/pandas/core/series.py index a88dd224068ac..8aeda5c71966c 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -268,7 +268,7 @@ class Series(base.IndexOpsMixin, NDFrame): # type: ignore[misc] Data type for the output Series. If not specified, this will be inferred from `data`. See the :ref:`user guide ` for more usages. - name : str, optional + name : Hashable, default None The name to give to the Series. copy : bool, default False Copy input data. Only affects Series or 1d ndarray input. See examples.