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
Code that works in pandas should work for chainladder
importchainladderasclclrd=cl.load_sample('clrd')
clrd_pd=clrd.sum('origin').sum('development').to_frame()
groups= [i.find('Loss')>=0foriinclrd.columns]
# Works for pandasclrd_pd.groupby(groups, axis=1).sum(1)
# Fails for chainladderclrd.groupby(groups, axis=1).sum(1)
The text was updated successfully, but these errors were encountered:
Code that works in pandas should work for chainladder
The text was updated successfully, but these errors were encountered: