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 b0b845a commit d9c90b3Copy full SHA for d9c90b3
pandas/tseries/offsets.py
@@ -1010,15 +1010,6 @@ def _rollf(date):
1010
1011
return result
1012
1013
- if other.month != 1 or other.day != 1:
1014
- other = datetime(other.year, 1, 1,
1015
- other.hour, other.minute, other.second,
1016
- other.microsecond)
1017
- if n <= 0:
1018
- n = n + 1
1019
- other = other + relativedelta(years=n, day=1)
1020
- return other
1021
-
1022
def onOffset(self, dt):
1023
return dt.month == self.month and dt.day == 1
1024
0 commit comments