MultiIndex.get_loc()

MultiIndex.get_loc(key, method=None) [source]

Get integer location, slice or boolean mask for requested label or tuple. If the key is past the lexsort depth, the return may be a boolean mask array, otherwise it is always a slice or int.

Parameters:

key : label or tuple

method : None

Returns:

loc : int, slice object or boolean mask

doc_Pandas
2017-01-12 04:49:41
Comments
Leave a Comment

Please login to continue.