-
Notifications
You must be signed in to change notification settings - Fork 370
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
map(DataFrame, groups)
does not return a collection of DataFrames
#2126
Comments
What happens is that This may be counter-intuitive, but That said, maybe the current behavior isn't very useful. We could also reserve it like |
For For As for
you see that the grouping columns are retained and only new columns So essentially now I think such a functionality is useful (although it is essentially the same as doing
Comments are welcome! |
Also - related - we are unsure if Note that very soon (#2095) |
@nalimilan - given we want to go for 1.0 release and do not break too much I would close this and leave the functionality of |
This is odd.
If I have done a
groupby
I would expect that
map(DataFrame, groups)
would return a collection of independentDataFrames
.Afterall that is what
DataFrame
does to a single singleSubDataFrame
.But on a group it doesn't.
It map leaves things as
SubDataFrame
MVE:
Workaround:
Wrap it in a
Tuple
: (collect
also works).This is on DataFrames v0.20.2
The text was updated successfully, but these errors were encountered: