pandas / 1.4.0 / reference / api / pandas.intervalindex.to_tuples.html /

pandas.IntervalIndex.to_tuples

IntervalIndex. to_tuples ( *args, **kwargs ) [source]

Return an ndarray of tuples of the form (left, right).

Parameters
na_tuple :bool, default True

Returns NA as a tuple if True, (nan, nan), or just as the NA value itself if False, nan.

Returns
tuples: ndarray

© 2008–2022, 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/1.4.0/reference/api/pandas.IntervalIndex.to_tuples.html