Skip to content

Commit

Permalink
DOC: Added clarification for the input to pandas.core.series.Series (#…
Browse files Browse the repository at this point in the history
…58728)

Updated docstring for Series()
  • Loading branch information
averagejoy committed May 15, 2024
1 parent 986074b commit a046189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class Series(base.IndexOpsMixin, NDFrame): # type: ignore[misc]
----------
data : array-like, Iterable, dict, or scalar value
Contains data stored in Series. If data is a dict, argument order is
maintained.
maintained. Unordered sets are not supported.
index : array-like or Index (1d)
Values must be hashable and have the same length as `data`.
Non-unique index values are allowed. Will default to
Expand Down

0 comments on commit a046189

Please sign in to comment.