Table Of Contents

Search

Enter search terms or a module, class or function name.

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

Scroll To Top