@@ -103,11 +103,11 @@ class Series(base.IndexOpsMixin, strings.StringAccessorMixin,
103
103
"""
104
104
One-dimensional ndarray with axis labels (including time series).
105
105
106
- Labels need not be unique but must be any hashable type. The object
106
+ Labels need not be unique but must be a hashable type. The object
107
107
supports both integer- and label-based indexing and provides a host of
108
108
methods for performing operations involving the index. Statistical
109
109
methods from ndarray have been overridden to automatically exclude
110
- missing data (currently represented as NaN)
110
+ missing data (currently represented as NaN).
111
111
112
112
Operations between Series (+, -, /, *, **) align values based on their
113
113
associated index values-- they need not be the same length. The result
@@ -118,8 +118,8 @@ class Series(base.IndexOpsMixin, strings.StringAccessorMixin,
118
118
data : array-like, dict, or scalar value
119
119
Contains data stored in Series
120
120
index : array-like or Index (1d)
121
- Values must be unique and hashable, same length as data. Index
122
- object (or other iterable of same length as data) Will default to
121
+ Values must be hashable and have the same length as ` data`.
122
+ Non-unique index values are allowed. Will default to
123
123
RangeIndex(len(data)) if not provided. If both a dict and index
124
124
sequence are used, the index will override the keys found in the
125
125
dict.
0 commit comments