-
Notifications
You must be signed in to change notification settings - Fork 358
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
iterating through groups in a for loop #2014
Comments
Is this related: #1770 |
@chogg Unfortunately, Koalas doesn't support group iterations so far. |
Thanks for letting me know. |
@ueshin Do you have any idea of when this might be supported? Does it take a lot of work to implement? |
Thanks for the interest in Koalas, @chogg . Unfortunately there is no clear development plan right now. This is because implementing You can also find the related discussions in the past issue from here and here for an example. |
Let me close this, since we don't want to have this feature for now since it's too dangerous as mentioned in #2014 (comment). |
Hello! What's the actual status for this? Still not being in consideration? |
I would like to iterate through groups in a dataframe. This is possible in pandas, but when I port this to koalas, I get an error.
Here is the error:
Is this kind of group iteration possible in koalas? The koalas documentation kind of implies it is possible - https://koalas.readthedocs.io/en/latest/reference/groupby.html
I don't know why the name of the group key is getting turned into 0. groupby('x').count() does seem to work.
The text was updated successfully, but these errors were encountered: