Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
[x] ~Added type annotations to new arguments/methods/functions.~ Not applicable
[x] ~Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.~ Not applicable
Before, if the line core/arrays/interval.py:866 is changed from def min(self, *, axis: AxisInt | None = None, skipna: bool = True) -> IntervalOrNA: to def min(self, *, axis: AxisInt | None = None, skipna: bool = False) -> IntervalOrNA:, all tests still passed. Now they will fail if the default skipna param is updated, perhaps mistakenly.
Applies to max() method too since they are tested in the same test function.
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.~ Not applicableBefore, if the line core/arrays/interval.py:866 is changed from
def min(self, *, axis: AxisInt | None = None, skipna: bool = True) -> IntervalOrNA:
todef min(self, *, axis: AxisInt | None = None, skipna: bool = False) -> IntervalOrNA:
, all tests still passed. Now they will fail if the defaultskipna
param is updated, perhaps mistakenly.Applies to
max()
method too since they are tested in the same test function.