Labeled coords and dims in hierarchical group setting with different sizes

Your code runs for me, but I had to assume what your data looks like. So maybe provide the output of df.head()?