You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In practice in all the cases I'm aware of, _can_hold_na is always fixed at the EA subclass level, so we can immediately infer _can_hold_na from the dtype. But in principle ATM an EA subclass could do
class WeirdEA(ExtensionArray):
@property
def _can_hold_na(self) -> bool:
return some_func(self[0])
We should make _can_hold_na an attribute of ExtensionDtype to pre-empt this.
The text was updated successfully, but these errors were encountered:
In practice in all the cases I'm aware of, _can_hold_na is always fixed at the EA subclass level, so we can immediately infer _can_hold_na from the dtype. But in principle ATM an EA subclass could do
We should make _can_hold_na an attribute of
ExtensionDtype
to pre-empt this.The text was updated successfully, but these errors were encountered: