Closed pre-commit-ci[bot] closed 2 months ago
we might have to turn off E721
, or sprinkle noqa: E721
comments around. The issue here is that we're comparing dtypes with types like str
using ==
/ !=
. Though maybe we can figure out how to do that with dtypes.isdtype
instead?
There's a few that could be switched to isinstance
so let's do that and turn it off?
Example: type(result) == slice
updates: