Skip to content

Commit 8a4182e

Browse files
committed
CLN: remove warning on falling back to tstamp resampling with loffset
1 parent e497fc2 commit 8a4182e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pandas/core/resample.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -809,10 +809,8 @@ def _convert_obj(self, obj):
809809
raise NotImplementedError(msg)
810810

811811
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
812+
# Cannot apply loffset/timedelta to PeriodIndex -> convert to
813+
# timestamps
816814
self.kind = 'timestamp'
817815

818816
# convert to timestamp

0 commit comments

Comments
 (0)