W3cubDocs

/pandas 0.18

pandas.Panel.major_xs

Panel.major_xs(key, copy=None)

Return slice of panel along major axis

Parameters:

key : object

Major axis label

copy : boolean [deprecated]

Whether to make a copy of the data

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

© 2011–2012 Lambda Foundry, Inc. and PyData Development Team
© 2008–2011 AQR Capital Management, LLC
© 2008–2014 the pandas development team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.18.1/generated/pandas.Panel.major_xs.html