pandas.IntervalIndex — pandas 0.24.2 documentation (original) (raw)

data : array-like (1-dimensional)

Array-like containing Interval objects from which to build the IntervalIndex.

closed : {‘left’, ‘right’, ‘both’, ‘neither’}, default ‘right’

Whether the intervals are closed on the left-side, right-side, both or neither.

dtype : dtype or None, default None

If None, dtype will be inferred.

New in version 0.23.0.

copy : bool, default False

Copy the input data.

name : object, optional

Name to be stored in the index.

verify_integrity : bool, default True

Verify that the IntervalIndex is valid.