You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Development(n_periods=0) fits the same as n_periods=-1 (all origin periods), because _assign_n_periods_weight uses every period when n_periods < 1. The docstring documents only -1 and positive integers. #1606 keeps 0 working as an alias, as discussed there.
Should 0 warn with a FutureWarning for a release and then raise, or stay as an undocumented alias?
(This issue was written with Árbol, an AI assistant, under my direction.)
Activity
henrydingliu commentedon Nov 15, 2026
@casact/chainladder-maintainers curious to get your thoughts