Return the midpoint of each Interval in the IntervalArray as an Index.
pandas.IntervalIndex.closed
pandas.IntervalIndex.length