-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
IndexRelated to the Index class or subclassesRelated to the Index class or subclassesNeeds TestsUnit test(s) needed to prevent regressionsUnit test(s) needed to prevent regressionsPeriodPeriod data typePeriod data typegood first issue
Milestone
Description
idx = pd.period_range('2016', periods=3, freq='M')
>>> idx == idx.values
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/site-packages/pandas/core/indexes/period.py", line 107, in wrapper
other = Period(other, freq=self.freq)
File "pandas/_libs/tslibs/period.pyx", line 1777, in pandas._libs.tslibs.period.Period.__new__
TypeError: unhashable type: 'numpy.ndarray'
Metadata
Metadata
Assignees
Labels
IndexRelated to the Index class or subclassesRelated to the Index class or subclassesNeeds TestsUnit test(s) needed to prevent regressionsUnit test(s) needed to prevent regressionsPeriodPeriod data typePeriod data typegood first issue