Gene Dan

Results 114 issues of Gene Dan

In the TriangleBase class there is a method called `_to_datetime` that has an argument called `format`: ```python @staticmethod def _to_datetime(data, fields, period_end=False, format=None): ``` I'm getting a warning from my...

Enhancement

There is some code that is executed early on in the Triangle constructor that handles the situation where the data contain ultimates: ``` @staticmethod def _split_ult( data: DataFrame, index: list,...

Enhancement

I'm mostly adding things like comments and type hints. Also fixes that would make the code compliant with PEP guidelines.

Documentation

The docstring for the triangle class is missing a few parameters in the __init__, specifically array_backend and pattern.

Enhancement