-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
BUG: preserve (object) dtype in factorize #60118
BUG: preserve (object) dtype in factorize #60118
Conversation
Thanks @jorisvandenbossche |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
* BUG: preserve (object) dtype in factorize * add fallback for float16 (cherry picked from commit 13926e5)
Manual backport -> #60174 |
Noticed this issue in #60116 (which adds an xfail for it):
I think in general a function like factorize should preserve the dtype, even though a better dtype could be inferred here.