Skip to content

Commit 4b1c740

Browse files
winklerandjreback
authored andcommitted
CLN: remove warning on falling back to tstamp resampling with loffset
1 parent a82879d commit 4b1c740

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
@@ -850,10 +850,8 @@ def _convert_obj(self, obj):
850850
raise NotImplementedError(msg)
851851

852852
if self.loffset is not None:
853-
if self.kind == 'period':
854-
print('Warning: loffset -> convert PeriodIndex to timestamps')
855-
# Cannot apply loffset/timedelta to PeriodIndex -> convert to
856-
# timestamps
853+
# Cannot apply loffset/timedelta to PeriodIndex -> convert to
854+
# timestamps
857855
self.kind = 'timestamp'
858856

859857
# convert to timestamp

0 commit comments

Comments
 (0)