I filed this prematurely, still need to form a MWE but basically I have a MicroDataFrame with duplicated indexes, and calling df.x.gini() causes a KeyError. df.groupby(g).x.gini() works (if indexes aren't duplicated within each g) and mdf.gini(df, "x", "w") also works.