Skip to content

Getting a vector of development ages #544

Answered by kennethshsu
SleepyBob asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @SleepyBob,

I don't know that this feature is supported currently. @jbogaardt?

However, the ages can be quickly calculated as a workaround.

import pandas as pd
import chainladder as cl

xyz = cl.load_sample("xyz")
(xyz["Incurred"].latest_diagonal.valuation.year - xyz["Incurred"].origin.year) * 12 + 12
Index([132, 120, 108, 96, 84, 72, 60, 48, 36, 24, 12], dtype='int64')

Does this help?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@SleepyBob
Comment options

@kennethshsu
Comment options

Answer selected by SleepyBob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants