Skip to content
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

Support grouping on a modin.pandas.Series with range-partitioning groupby #6883

Closed
dchigarev opened this issue Jan 25, 2024 · 0 comments · Fixed by #6888
Closed

Support grouping on a modin.pandas.Series with range-partitioning groupby #6883

dchigarev opened this issue Jan 25, 2024 · 0 comments · Fixed by #6888
Assignees
Labels
new feature/request 💬 Requests and pull requests for new features P1 Important tasks that we should complete soon

Comments

@dchigarev
Copy link
Collaborator

This issue is a part of this epic #5926

This should work with range-partitioning groupby:

import modin.pandas as pd
import modin.config as cfg

cfg.RangePartitioningGroupby.put(True)

sr = pd.Series([1, 1, 2, 2])
df = pd.DataFrame({"a": [1, 2, 3, 4], "b": [10, 20, 10, 20]})

res = df.groupby([sr, "b"]).sum()
@dchigarev dchigarev added new feature/request 💬 Requests and pull requests for new features P1 Important tasks that we should complete soon labels Jan 25, 2024
@dchigarev dchigarev self-assigned this Jan 25, 2024
dchigarev added a commit to dchigarev/modin that referenced this issue Jan 25, 2024
…itioning impl

Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
anmyachev pushed a commit that referenced this issue Feb 1, 2024
…#6888)

Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature/request 💬 Requests and pull requests for new features P1 Important tasks that we should complete soon
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant