pandas.Interval.mid#

Interval.mid#

Return the midpoint of the Interval.

Examples

>>> iv = pd.Interval(0, 5)
>>> iv.mid
2.5