Previous topic


Next topic


This Page


DateArray.asfreq(freq=None, relation='END')

Converts the dates to another frequency.


freq : {freq_spec}

Frequency into which DateArray must be converted. Accepts any valid frequency specification (string or integer)

relation : {“END”, “START”} (optional)

Applies only when converting a lower frequency Date to a higher frequency Date, or when converting a weekend Date to a business frequency Date. Valid values are ‘START’ and ‘END’ (or just ‘S’ and ‘E’ for brevity if you wish).

For example, if converting a monthly date to a daily date, specifying ‘START’ (‘END’) would result in the first (last) day in the month.