-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Add ExtesnsionDtype.empty classmethod #19600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Why not just rely on that assumption directly for a default implementation of |
So if a class doesn't support |
EA should have this method |
What has this to do with ExtensionArray itself ? |
sorry thought the top was on empty on EA |
This would let us provide a default
construct_from_string
method.The default would have to rely on
ExtensionDtype()
being constructable with no arguments, or anExtensionDtype.empty
method. For many that'll bewhich is easier than implementing
construct_from_string
. Maybe call itfrom_empty
.The text was updated successfully, but these errors were encountered: