@@ -158,16 +158,6 @@ cdef class Interval(IntervalMixin):
158158 Whether the interval is closed on the left-side, right-side, both or
159159 neither. See the Notes for more detailed explanation.
160160
161- See Also
162- --------
163- IntervalIndex : An Index of Interval objects that are all closed on the
164- same side.
165- cut : Convert continuous data into discrete bins (Categorical
166- of Interval objects).
167- qcut : Convert continuous data into bins (Categorical of Interval objects)
168- based on quantiles.
169- Period : Represents a period of time.
170-
171161 Notes
172162 -----
173163 The parameters `left` and `right` must be from the same type, you must be
@@ -236,6 +226,16 @@ cdef class Interval(IntervalMixin):
236226 >>> volume_1 = pd.Interval('Ant', 'Dog', closed='both')
237227 >>> 'Bee' in volume_1
238228 True
229+
230+ See Also
231+ --------
232+ IntervalIndex : An Index of Interval objects that are all closed on the
233+ same side.
234+ cut : Convert continuous data into discrete bins (Categorical
235+ of Interval objects).
236+ qcut : Convert continuous data into bins (Categorical of Interval objects)
237+ based on quantiles.
238+ Period : Represents a period of time.
239239 """
240240 _typ = " interval"
241241
@@ -387,11 +387,6 @@ cdef class Interval(IntervalMixin):
387387 bool
388388 ``True`` if the two intervals overlap, else ``False``.
389389
390- See Also
391- --------
392- IntervalArray.overlaps : The corresponding method for IntervalArray
393- IntervalIndex.overlaps : The corresponding method for IntervalIndex
394-
395390 Examples
396391 --------
397392 >>> i1 = pd.Interval(0, 2)
@@ -414,6 +409,11 @@ cdef class Interval(IntervalMixin):
414409 >>> i6 = pd.Interval(1, 2, closed='neither')
415410 >>> i4.overlaps(i6)
416411 False
412+
413+ See Also
414+ --------
415+ IntervalArray.overlaps : The corresponding method for IntervalArray
416+ IntervalIndex.overlaps : The corresponding method for IntervalIndex
417417 """
418418 if not isinstance (other, Interval):
419419 msg = ' `other` must be an Interval, got {other}'
0 commit comments