pandas.Panel.major_xs
-
Panel.major_xs(key)
[source] -
Return slice of panel along major axis
Parameters: key : object
Major axis label
Returns: y : DataFrame
index -> minor axis, columns -> items
Notes
major_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 major_xs functionality, see MultiIndex Slicers
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.Panel.major_xs.html