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

Add an ability to modify config variables using context manager #7141

Closed
dchigarev opened this issue Apr 2, 2024 · 0 comments · Fixed by #7142
Closed

Add an ability to modify config variables using context manager #7141

dchigarev opened this issue Apr 2, 2024 · 0 comments · Fixed by #7142
Assignees
Labels
P2 Minor bugs or low-priority feature requests

Comments

@dchigarev
Copy link
Collaborator

The idea is to make the config variables easier to switch:

import modin.config as cfg

with cfg.RangePartitioning(True):
    df.groupby(...) # use range-partitioning

# do not use range partitioning
df.groupby(...)
@dchigarev dchigarev added the P2 Minor bugs or low-priority feature requests label Apr 2, 2024
@dchigarev dchigarev self-assigned this Apr 2, 2024
dchigarev added a commit to dchigarev/modin that referenced this issue Apr 2, 2024
…a context manager

Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
anmyachev pushed a commit that referenced this issue Apr 4, 2024
…ager (#7142)

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
P2 Minor bugs or low-priority feature requests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant