Table Of Contents

Search

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

pandas.MultiIndex.truncate

MultiIndex.truncate(before=None, after=None)

Slice index between two labels / tuples, return new MultiIndex

Parameters:

before : label or tuple, can be partial. Default None

None defaults to start

after : label or tuple, can be partial. Default None

None defaults to end

Returns:

truncated : MultiIndex