Helper function which returns an array with the Intervals' mid points.
(array: Iterable[pd.Interval])
| 558 | |
| 559 | |
| 560 | def _interval_to_mid_points(array: Iterable[pd.Interval]) -> np.ndarray: |
| 561 | """ |
| 562 | Helper function which returns an array |
| 563 | with the Intervals' mid points. |
| 564 | """ |
| 565 | |
| 566 | return np.array([x.mid for x in array]) |
| 567 | |
| 568 | |
| 569 | def _interval_to_bound_points(array: Sequence[pd.Interval]) -> np.ndarray: |
no outgoing calls
no test coverage detected
searching dependent graphs…