File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
133
133
-i " pandas.arrays.IntegerArray SA01" \
134
134
-i " pandas.arrays.IntervalArray.left SA01" \
135
135
-i " pandas.arrays.IntervalArray.length SA01" \
136
- -i " pandas.arrays.IntervalArray.mid SA01" \
137
136
-i " pandas.arrays.IntervalArray.right SA01" \
138
137
-i " pandas.arrays.NumpyExtensionArray SA01" \
139
138
-i " pandas.arrays.SparseArray PR07,SA01" \
Original file line number Diff line number Diff line change @@ -1291,6 +1291,16 @@ def mid(self) -> Index:
1291
1291
"""
1292
1292
Return the midpoint of each Interval in the IntervalArray as an Index.
1293
1293
1294
+ The midpoint of an interval is calculated as the average of its
1295
+ `left` and `right` bounds. This property returns a `pandas.Index` object
1296
+ containing the midpoint for each interval.
1297
+
1298
+ See Also
1299
+ --------
1300
+ Interval.left : Return left bound for the interval.
1301
+ Interval.right : Return right bound for the interval.
1302
+ Interval.length : Return the length of each interval.
1303
+
1294
1304
Examples
1295
1305
--------
1296
1306
You can’t perform that action at this time.
0 commit comments