File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
89
89
-i " pandas.api.types.pandas_dtype PR07,RT03,SA01" \
90
90
-i " pandas.arrays.ArrowExtensionArray PR07,SA01" \
91
91
-i " pandas.arrays.IntegerArray SA01" \
92
- -i " pandas.arrays.IntervalArray.left SA01" \
93
92
-i " pandas.arrays.IntervalArray.length SA01" \
94
93
-i " pandas.arrays.IntervalArray.right SA01" \
95
94
-i " pandas.arrays.NumpyExtensionArray SA01" \
Original file line number Diff line number Diff line change @@ -1233,6 +1233,22 @@ def left(self) -> Index:
1233
1233
"""
1234
1234
Return the left endpoints of each Interval in the IntervalArray as an Index.
1235
1235
1236
+ This property provides access to the left endpoints of the intervals
1237
+ contained within the IntervalArray. This can be useful for analyses where
1238
+ the starting point of each interval is of interest, such as in histogram
1239
+ creation, data aggregation, or any scenario requiring the identification
1240
+ of the beginning of defined ranges. This property returns a ``pandas.Index``
1241
+ object containing the midpoint for each interval.
1242
+
1243
+ See Also
1244
+ --------
1245
+ arrays.IntervalArray.right : Return the right endpoints of each Interval in
1246
+ the IntervalArray as an Index.
1247
+ arrays.IntervalArray.mid : Return the midpoint of each Interval in the
1248
+ IntervalArray as an Index.
1249
+ arrays.IntervalArray.contains : Check elementwise if the Intervals contain
1250
+ the value.
1251
+
1236
1252
Examples
1237
1253
--------
1238
1254
You can’t perform that action at this time.
0 commit comments