Return NotImpelmented for arith ops with object-dtype Index subclasses #31109
Labels
Blocker
Blocking issue or pull request for an upcoming release
Numeric Operations
Arithmetic, Comparison, and Logical operations
Milestone
This change in 1.0 impacted xarray
cc @jbrockmendel @dcherian. Brock suggested checking
type(other)
, and returning NotImplemented for index subclasses we don't know about, to give the subclass a chance to take over the op.The text was updated successfully, but these errors were encountered: