Pandas · Class
pd.IndexSlice
pd.IndexSlice makes MultiIndex selection syntax easier to read. It lets .loc use normal start:stop slices instead of explicit slice() calls.
Last updated
Syntax
pd.IndexSliceIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
MultiIndex.remove_unused_levels