Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jbogaardt authored Mar 27, 2024
1 parent 6c9ad1c commit 1758dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chainladder/core/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def _to_datetime(data, fields, period_end=False, format=None):
def _development_lag(origin, valuation):
"""For tabular format, this will convert the origin/valuation
difference to a development lag"""
return ((valuation - origin) / (365.25/12)).round('1d').dt.days
return ((valuation - origin) / (365.25/12)).dt.round('1d').dt.days


@staticmethod
Expand Down

0 comments on commit 1758dfd

Please sign in to comment.