Skip to main content
`Ctrl`+`K`

# pandas.Interval.closed

Interval.closed

  String describing the inclusive side the intervals.

  Either `left`, `right`, `both` or `neither`.

  See also

  `Interval.closed_left`

    Check if the interval is closed on the left side.

  `Interval.closed_right`

    Check if the interval is closed on the right side.

  `Interval.open_left`

    Check if the interval is open on the left side.

  `Interval.open_right`

    Check if the interval is open on the right side.

  Examples

      >>> interval = pd.Interval(left=1, right=2, closed='left')
      >>> interval
      Interval(1, 2, closed='left')
      >>> interval.closed
      'left'