liesel/goose/summary_m.py:391: FutureWarning: The default of observed=False is deprecated and will be changed to True in a future version of pandas. Pass observed=False to retain current behavior or observed=True to adopt the future default and silence this warning.
df["chain"] = df.groupby(level=[0, 1, 2, 3]).cumcount()
A call like
currently results in this FutureWarning: