Skip to content

Commit 8c2422b

Browse files
author
Thomas Dickson
committed
pandas-dev#35406 BUG/DOC addition to series docs to describe dict behaviour precedence - meet codeformatting criteria
1 parent 66933b6 commit 8c2422b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/core/series.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,9 @@ class Series(base.IndexOpsMixin, generic.NDFrame):
164164
index : array-like or Index (1d)
165165
Values must be hashable and have the same length as `data`.
166166
Non-unique index values are allowed. Will default to
167-
RangeIndex (0, 1, 2, ..., n) if not provided. If data is dict-like and index is None, then the values in the index are used to reindex the Series after it is created using the keys in the data.
167+
RangeIndex (0, 1, 2, ..., n) if not provided. If data is dict-like
168+
and index is None, then the values in the index are used to
169+
reindex the Series after it is created using the keys in the data.
168170
dtype : str, numpy.dtype, or ExtensionDtype, optional
169171
Data type for the output Series. If not specified, this will be
170172
inferred from `data`.

0 commit comments

Comments
 (0)