Table Of Contents

Search

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

pandas.MultiIndex.truncateΒΆ

MultiIndex.truncate(before=None, after=None)[source]ΒΆ

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

Scroll To Top