Skip to content
Prev Previous commit
Next Next commit
whitespace edits per reviewer request
  • Loading branch information
jbrockmendel committed Nov 26, 2017
commit f7bc293f58657d3d1678bd408605e4af2309048c
4 changes: 4 additions & 0 deletions pandas/tseries/offsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1039,8 +1039,10 @@ def m_offset(self):
@apply_wraps
def apply(self, other):
n = self.n

# First move to month offset
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blank lines before comments

cur_mend = self.m_offset.rollforward(other)

# Find this custom month offset
cur_cmend = self.cbday.rollback(cur_mend)

Expand Down Expand Up @@ -1115,8 +1117,10 @@ def m_offset(self):
def apply(self, other):
n = self.n
dt_in = other

# First move to month offset
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

cur_mbegin = self.m_offset.rollback(dt_in)

# Find this custom month offset
cur_cmbegin = self.cbday.rollforward(cur_mbegin)

Expand Down