I have a DataFrame which is indexed with the last day of the month. Sometimes this date is a weekday and sometimes it is a weekend. Ignoring holidays, I\'m looking to offset
A more idiomatic method would be to resample to business days:
df.resample('B', label='right', closed='right').first().dropna() A 2015-04-30 0.0 2015-06-01 0.0 2015-06-30 0.0