-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
groupby filter can't access all columns #6512
Comments
Woah, this is bad. Very surprised the huge number of tests does not cover this. I'm too busy to dig into this this week, but I can get into it next week. Let me know if you make any progress in the meantime. |
Not entirely sure, but this might be related: http://stackoverflow.com/questions/22139053/grouped-function-between-2-columns-in-a-pandas-dataframe
|
@naught101 I posted your find as #6524. I suspect that it's because this syntax is not supported:
|
Trivial fix after #6570, use |
fixed! |
Unexpectedly? don't have access to the grouped columns.
Also seems to allow returning a boolean Series (and takes the first item as the condition).
cc @danielballan
The text was updated successfully, but these errors were encountered: