I understand that 0 should not be passed into any DateOffset subclasses, but: Currently: DataFrame.asfreq(MonthEnd(0)) goes into infinite loop. I believe this is the case for all the Date *End subclasses Desired: Exception should be raised