File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
125
125
-i " pandas.arrays.IntegerArray SA01" \
126
126
-i " pandas.arrays.IntervalArray.left SA01" \
127
127
-i " pandas.arrays.IntervalArray.length SA01" \
128
- -i " pandas.arrays.IntervalArray.mid SA01" \
129
128
-i " pandas.arrays.IntervalArray.right SA01" \
130
129
-i " pandas.arrays.NumpyExtensionArray SA01" \
131
130
-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