Closed loicdiridollou closed 3 months ago
Thanks @gandhis1 for the feedback.
I think this change isn't quite correct: https://github.com/pandas-dev/pandas-stubs/issues/1009. The return value of this function doesn't actually discriminate the type, because some float
are NaN and others aren't.
assert_type()
to assert the type of any return value