From 7081841068b140132cfb28ac771f61460da8c9a4 Mon Sep 17 00:00:00 2001 From: Matt Roeschke Date: Thu, 24 Nov 2016 23:27:47 -0800 Subject: [PATCH] DOC:Fix uniqueness of index for Series (#7808) --- pandas/core/series.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pandas/core/series.py b/pandas/core/series.py index 105e39562f561..deab1d2b9c851 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -118,11 +118,11 @@ class Series(base.IndexOpsMixin, strings.StringAccessorMixin, data : array-like, dict, or scalar value Contains data stored in Series index : array-like or Index (1d) - Values must be unique and hashable, same length as data. Index - object (or other iterable of same length as data) Will default to - RangeIndex(len(data)) if not provided. If both a dict and index - sequence are used, the index will override the keys found in the - dict. + Values must be hashable, same length as data. Non-unique index values + are allowed. Index object (or other iterable of same length as data) + Will default to RangeIndex(len(data)) if not provided. If both a dict + and index sequence are used, the index will override the keys found + in the dict. dtype : numpy.dtype or None If None, dtype will be inferred copy : boolean, default False