File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -921,7 +921,7 @@ def apply_index(self, i):
921
921
shifted = liboffsets .shift_months (i .asi8 , self .n , self ._day_opt )
922
922
# TODO: going through __new__ raises on call to _validate_frequency;
923
923
# are we passing incorrect freq?
924
- return type (i )._simple_new (shifted , freq = i .freq , dtype = i .dtype )
924
+ return type (i )._simple_new (shifted , freq = i .freq , tz = i .tz )
925
925
926
926
927
927
class MonthEnd (MonthOffset ):
@@ -1604,7 +1604,7 @@ def apply_index(self, dtindex):
1604
1604
# TODO: going through __new__ raises on call to _validate_frequency;
1605
1605
# are we passing incorrect freq?
1606
1606
return type (dtindex )._simple_new (shifted , freq = dtindex .freq ,
1607
- dtype = dtindex .dtype )
1607
+ tz = dtindex .tz )
1608
1608
1609
1609
1610
1610
class BQuarterEnd (QuarterOffset ):
@@ -1678,7 +1678,7 @@ def apply_index(self, dtindex):
1678
1678
# TODO: going through __new__ raises on call to _validate_frequency;
1679
1679
# are we passing incorrect freq?
1680
1680
return type (dtindex )._simple_new (shifted , freq = dtindex .freq ,
1681
- dtype = dtindex .dtype )
1681
+ tz = dtindex .tz )
1682
1682
1683
1683
def onOffset (self , dt ):
1684
1684
if self .normalize and not _is_normalized (dt ):
You can’t perform that action at this time.
0 commit comments