-
-
Notifications
You must be signed in to change notification settings - Fork 19.9k
divide by 0 for Int64 is inconsistent with int64 #22793
Copy link
Copy link
Closed
Labels
BugExtensionArrayExtending pandas with custom dtypes or arrays.Extending pandas with custom dtypes or arrays.NA - MaskedArraysRelated to pd.NA and nullable extension arraysRelated to pd.NA and nullable extension arraysNumeric OperationsArithmetic, Comparison, and Logical operationsArithmetic, Comparison, and Logical operations
Metadata
Metadata
Assignees
Labels
BugExtensionArrayExtending pandas with custom dtypes or arrays.Extending pandas with custom dtypes or arrays.NA - MaskedArraysRelated to pd.NA and nullable extension arraysRelated to pd.NA and nullable extension arraysNumeric OperationsArithmetic, Comparison, and Logical operationsArithmetic, Comparison, and Logical operations
Where as
It's because of this line:
pandas/pandas/core/arrays/integer.py
Line 545 in 0480f4c
Is it intentional for the new extension integer type to have different behavior here?