Are you on the latest chainladder version?
Describe the bug in words
I already have my development in months. and I am trying to create a triangle as below. But I am getting an error.
It seems that this issue was discussed before. I apologise if I have missed this. I have just installed chainladder and so have the latest version
How can the bug be reproduced?
data = {
'origin': [2018, 2018, 2018, 2018, 2019, 2019, 2019, 2019],
'dev': [1, 2, 3, 4, 1, 2, 3, 4], # months
'value': [100, 80, 60, 40, 120, 90, 70, 50]
}
df = pd.DataFrame(data)
tri = cl.Triangle(df, origin='origin', development='dev', columns='value')
What is the expected behavior?
I would expect the triangle with the years plus the value at months 1-4
Are you on the latest chainladder version?
Describe the bug in words
I already have my development in months. and I am trying to create a triangle as below. But I am getting an error.
It seems that this issue was discussed before. I apologise if I have missed this. I have just installed chainladder and so have the latest version
How can the bug be reproduced?
data = {
'origin': [2018, 2018, 2018, 2018, 2019, 2019, 2019, 2019],
'dev': [1, 2, 3, 4, 1, 2, 3, 4], # months
'value': [100, 80, 60, 40, 120, 90, 70, 50]
}
df = pd.DataFrame(data)
tri = cl.Triangle(df, origin='origin', development='dev', columns='value')
What is the expected behavior?
I would expect the triangle with the years plus the value at months 1-4