@@ -158,6 +158,16 @@ 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+
161171 Notes
162172 -----
163173 The parameters `left` and `right` must be from the same type, you must be
@@ -226,16 +236,6 @@ cdef class Interval(IntervalMixin):
226236 >>> volume_1 = pd.Interval('Ant', 'Dog', closed='both')
227237 >>> 'Bee' in volume_1
228238 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,6 +387,11 @@ 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+
390395 Examples
391396 --------
392397 >>> i1 = pd.Interval(0, 2)
@@ -409,11 +414,6 @@ cdef class Interval(IntervalMixin):
409414 >>> i6 = pd.Interval(1, 2, closed='neither')
410415 >>> i4.overlaps(i6)
411416 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