pandas.arrays.IntervalArray.to_tuples

IntervalArray.to_tuples(na_tuple=True) [source]

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

Parameters:
na_tuple : boolean, default True

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

New in version 0.23.0.

Returns:
tuples: ndarray

© 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.24.2/reference/api/pandas.arrays.IntervalArray.to_tuples.html