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 e497fc2 commit 8a4182eCopy full SHA for 8a4182e
pandas/core/resample.py
@@ -809,10 +809,8 @@ def _convert_obj(self, obj):
809
raise NotImplementedError(msg)
810
811
if self.loffset is not None:
812
- if self.kind == 'period':
813
- print('Warning: loffset -> convert PeriodIndex to timestamps')
814
- # Cannot apply loffset/timedelta to PeriodIndex -> convert to
815
- # timestamps
+ # Cannot apply loffset/timedelta to PeriodIndex -> convert to
+ # timestamps
816
self.kind = 'timestamp'
817
818
# convert to timestamp
0 commit comments