-
Notifications
You must be signed in to change notification settings - Fork 915
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
Return a Series from JIT GroupBy apply, rather than a DataFrame #13820
Conversation
expect = groupby_jit_data.to_pandas().groupby("key1").apply(func) | ||
got = groupby_jit_data.groupby("key1").apply(func, engine="jit") | ||
|
||
if special_val is np.nan: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sounds like a test that should be marked as xfail
. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this is a great question. We ran into this on the original JIT groupby apply PR, it's an outstanding issue.
There aren't any obvious solutions that I can see for this problem but I've raised an issue here to track it. I've also xfailed the test and linked there to he issue.
/merge |
Closes #13809