Skip to content

Commit 9e46e13

Browse files
committed
CLN: remove warning on falling back to tstamp resampling with loffset
1 parent cde51cd commit 9e46e13

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pandas/core/resample.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -800,10 +800,8 @@ def _convert_obj(self, obj):
800800
raise NotImplementedError(msg)
801801

802802
if self.loffset is not None:
803-
if self.kind == 'period':
804-
print('Warning: loffset -> convert PeriodIndex to timestamps')
805-
# Cannot apply loffset/timedelta to PeriodIndex -> convert to
806-
# timestamps
803+
# Cannot apply loffset/timedelta to PeriodIndex -> convert to
804+
# timestamps
807805
self.kind = 'timestamp'
808806

809807
# convert to timestamp

0 commit comments

Comments
 (0)