-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
REF: de-duplicate Index._find_common_type_compat and dtypes.cast.find_result_type #45149
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
I will try to look at that. From the first glance not sure I can make it more readable, but I will give it shot. If anything will pan out I will create a PR. Otherwise I will comment here =) |
take |
Just wanted to update that I am still looking at that refactoring and if I am not blocking anyone I would be glad to continue. This took me on a fascinating adventure around pandas \ numpy type system =). At the moment I was looking through the code and relevant issues discussion like #26778 and #37258. It was interesting to learn about all of this corner cases. |
Newly-implemented dtypes.cast.find_result_type |
@jbrockmendel I think you beat me to it. Still it was interesting =) |
Closing as pushed as far is it can go without API changes. |
In particular both include logic for working around Categoricals. Not sure how much is shareable, but worth a shot.
The text was updated successfully, but these errors were encountered: