Wrangling Multidimensional Pandas
Pandas is a great tool but there are some caveats.
If you don't name your columns in a MultiIndex, you can't meaningfully reindex
The []
operator seems to reduce dimensionality of data, wheres many usse of .loc[]
will preserve it.
In order to use a list of tuples to index a MultiIndex object, you need to use complete tuples.