We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39b2477 commit 6e3a5a8Copy full SHA for 6e3a5a8
pandas/_libs/tslib.pyx
@@ -502,7 +502,7 @@ class Timestamp(_Timestamp):
502
"""
503
Return an period of which this timestamp is an observation.
504
505
- from pandas.tseries.period import Period
+ from pandas import Period
506
507
if freq is None:
508
freq = self.freq
pandas/compat/pickle_compat.py
@@ -94,7 +94,9 @@ def load_reduce(self):
94
('pandas.indexes.range', 'RangeIndex'):
95
('pandas.core.indexes.range', 'RangeIndex'),
96
('pandas.indexes.multi', 'MultiIndex'):
97
- ('pandas.core.indexes.multi', 'MultiIndex')
+ ('pandas.core.indexes.multi', 'MultiIndex'),
98
+ ('pandas.tseries.period', 'PeriodIndex'):
99
+ ('pandas.core.indexes.period', 'PeriodIndex')
100
}
101
102
0 commit comments