BUG/API: Series[bool] floordiv raises but divmod does not #46043
Labels
API - Consistency
Internal Consistency of API/Behavior
Bug
Numeric Operations
Arithmetic, Comparison, and Logical operations
In a number of places, specifically the extension tests TestArithmeticOps._check_divmod_op, we check for internal consistency with something like
In trying to adapt BooleanArray behavior to match non-masked bool dtype Series behavior (xref #41165) I found that
Series[bool]
raises on floordiv but allows divmod.Either both should raise or neither.
The text was updated successfully, but these errors were encountered: