MultiIndex.truncate()
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
© 2011–2012 Lambda Foundry