Skip to content

Commit d9c90b3

Browse files
committed
STY: Remove unnecessary old code.
1 parent b0b845a commit d9c90b3

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

pandas/tseries/offsets.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,15 +1010,6 @@ def _rollf(date):
10101010

10111011
return result
10121012

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-
10221013
def onOffset(self, dt):
10231014
return dt.month == self.month and dt.day == 1
10241015

0 commit comments

Comments
 (0)