Series bool ops testing needs fleshing out #19792
Labels
Dtype Conversions
Unexpected or buggy dtype conversions
Enhancement
Needs Tests
Unit test(s) needed to prevent regressions
Numeric Operations
Arithmetic, Comparison, and Logical operations
Looks like it's almost all in tests.series.test_operators.test_operators_bitwise
In particular, op(series, index) will always raise for op in [&, |, ^]. (Presumably also op(series, categorical), but I haven't looked at that closely.) I can fix this and add some basic tests for it, but the dtype logic in
ops._bool_method_SERIES
doesn't make entirely clear what the desired behavior is, so some input will be needed to flesh them out more thoroughly.The text was updated successfully, but these errors were encountered: