Skip to content

Series bool ops testing needs fleshing out #19792

Closed
@jbrockmendel

Description

@jbrockmendel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Dtype ConversionsUnexpected or buggy dtype conversionsEnhancementNeeds TestsUnit test(s) needed to prevent regressionsNumeric OperationsArithmetic, Comparison, and Logical operations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions