last_part¶
- last_part(i, freq_id='ANV')[source]¶
Length of time till next anniversary in step
i
When
freq_id
takes its default value ‘ANV’,last_part()
returns and a Series indexed with model point ID that indicates for each model point the length of time in months until the next policy anniversary in stepi
. The decimal fraction of the length, if any, represents the proportion of the number of days befor anniversary in the anniversary months. The measured part corresponds to the remaining policy year the model point is in atdate_(i)
. If no policy anniversary is in Stepi
, thenmonths_in_step(i)
is returned. If ‘PREM’ is given tofreq_id
, the lengh of time in months till the next payment date is returned.