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.