Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.Index.ravel PR01,RT03" \
-i "pandas.Index.str PR01,SA01" \
-i "pandas.Interval PR02" \
-i "pandas.Interval.closed SA01" \
-i "pandas.Interval.left SA01" \
-i "pandas.Interval.mid SA01" \
-i "pandas.Interval.right SA01" \
Expand Down
7 changes: 7 additions & 0 deletions pandas/_libs/interval.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,13 @@ cdef class Interval(IntervalMixin):

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')
Expand Down