pandas.arrays.IntervalArray.from_breaks — pandas 0.25.3 documentation (original) (raw)
breaks : array-like (1-dimensional)
Left and right bounds for each interval.
closed : {‘left’, ‘right’, ‘both’, ‘neither’}, default ‘right’
Whether the intervals are closed on the left-side, right-side, both or neither.
copy : boolean, default False
copy the data
dtype : dtype or None, default None
If None, dtype will be inferred
New in version 0.23.0.