pandas.MultiIndex.get_loc_level
-
MultiIndex.get_loc_level(key, level=0, drop_level=True)
[source] -
Get integer location slice for requested label or tuple
Parameters: key : label or tuple
level : int/level name or list thereof
Returns: loc : int or slice object
© 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.20.3/generated/pandas.MultiIndex.get_loc_level.html