pandas.IntervalArray.to_tuples — pandas 0.24.0rc1 documentation (original) (raw)
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. ..versionadded:: 0.23.0 |
---|---|
Returns: | tuples: ndarray |