Replies: 3 comments 15 replies
-
The >>> import chainladder as cl
>>> print(cl.Triangle.to_frame.__doc__)
Converts a triangle to a pandas.DataFrame.
Parameters
----------
origin_as_datetime : bool
Whether the origin vector should be converted from PeriodIndex
into a datetime dtype. Default is False.
keepdims : bool
If True, the triangle will be converted to a DataFrame with all
dimensions intact. The argument will force a consistent DataFrame
format regardless of whether any dimensions are of length 1.
implicit_axis : bool
When keepdims is True, this denotes whether to include the implicit
valuation axis in addition to the origin and development.
Returns
-------
pandas.DataFrame representation of the Triangle. |
Beta Was this translation helpful? Give feedback.
-
Hi @KiY0On, it looks like you are new. Welcome! There's a starter tutorial which introduces you to most of the basic functionalities of the package here. Did you get a chance to take a look? |
Beta Was this translation helpful? Give feedback.
-
Sample Data.csv NDT EU TFtest.csv There must be something wrong with when I create the development column... Thank you so much for the help and apologies for asking too many questions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am working on using the Triangle object from the chain-ladder package and seeking some help in using it in my project.
At the current stages:
I am concerned that once I create the triangles, would I be able to export all of the triangles as a single flat csv file to be used for analysis. I would like to use the CAS repository for the analytical part, but I wanted to try turning the flat data into the triangle and exporting out first.
I would appreciate any idea or advice on this subject. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions