API: inferred_freq is a DateOffset subclass rather than a string. (GH5082)