pandas.Panel.minor_xs

Panel.minor_xs(key)[source]

Return slice of panel along minor axis.

Parameters:
key : object

Minor axis label

Returns:
y : DataFrame

index -> major axis, columns -> items

Notes

minor_xs is only for getting, not setting values.

MultiIndex Slicers is a generic way to get/set values on any level or levels and is a superset of minor_xs functionality, see MultiIndex Slicers

Scroll To Top