@@ -383,6 +383,12 @@ cdef class Interval(IntervalMixin):
383
383
"""
384
384
Left bound for the interval.
385
385
386
+ See Also
387
+ --------
388
+ Interval.right : Return the right bound for the interval.
389
+ numpy.ndarray.left : A similar method in numpy for obtaining
390
+ the left endpoint(s) of intervals.
391
+
386
392
Examples
387
393
--------
388
394
>>> interval = pd.Interval(left=1, right=2, closed='left')
@@ -396,6 +402,12 @@ cdef class Interval(IntervalMixin):
396
402
"""
397
403
Right bound for the interval.
398
404
405
+ See Also
406
+ --------
407
+ Interval.left : Return the left bound for the interval.
408
+ numpy.ndarray.right : A similar method in numpy for obtaining
409
+ the right endpoint(s) of intervals.
410
+
399
411
Examples
400
412
--------
401
413
>>> interval = pd.Interval(left=1, right=2, closed='left')
@@ -411,6 +423,13 @@ cdef class Interval(IntervalMixin):
411
423
412
424
Either ``left``, ``right``, ``both`` or ``neither``.
413
425
426
+ See Also
427
+ --------
428
+ Interval.closed_left : Check if the interval is closed on the left side.
429
+ Interval.closed_right : Check if the interval is closed on the right side.
430
+ Interval.open_left : Check if the interval is open on the left side.
431
+ Interval.open_right : Check if the interval is open on the right side.
432
+
414
433
Examples
415
434
--------
416
435
>>> interval = pd.Interval(left=1, right=2, closed='left')
0 commit comments