Squeezing stats by default removes the "stepmethod" dimension (which we don't name explicitly), but this does not always work for object-dtyped stats.
This is (very often) the case for the "warning" stat introduced by #6192, but also for stats that have varying shape.
We should probably not only stop squeezing, but instead unpack stats into a long form, such that there is not even a stepmeethod dimension.
This is how McBackend stores stats, because it works for any (hierarchical) combination of step methods.
Squeezing stats by default removes the
"stepmethod"dimension (which we don't name explicitly), but this does not always work forobject-dtyped stats.This is (very often) the case for the "warning" stat introduced by #6192, but also for stats that have varying shape.
We should probably not only stop squeezing, but instead unpack stats into a long form, such that there is not even a
stepmeethoddimension.This is how McBackend stores stats, because it works for any (hierarchical) combination of step methods.