Skip to content

DOC: Added documentation to name and fastpath arguments in series.py #27967

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
5 changes: 5 additions & 0 deletions pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,13 @@ class Series(base.IndexOpsMixin, generic.NDFrame):
Data type for the output Series. If not specified, this will be
inferred from `data`.
See the :ref:`user guide <basics.dtypes>` for more usages.
name : str, default None
Sets the name of the array/ series. Can be called with Series.name
copy : bool, default False
Copy input data.
fastpath : bool, default False
Internally used to prevent the over-parsing data format/ type which
is otherwise required by external calls (such as user calls)
"""

_metadata = ["name"]
Expand Down