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
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.MultiIndex.truncate.html