Skip to content

Conversation

@sfc-gh-joshi
Copy link
Contributor

What do these changes do?

IO and general module functions now all share a code path that checks whether the active backend's query compiler should warn on default to pandas. Methods that default to pandas directly in the base.py frontend layer (rather than at the query compiler level) also now use this code path.

  • first commit message and PR title follow format outlined here

    NOTE: If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

  • passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
  • passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
  • signed commit with git commit -s
  • Resolves BUG: Native pandas backend still raises default to pandas warning for some methods #7638
  • tests added and passing
  • module layout described at docs/development/architecture.rst is up-to-date

Copy link
Contributor

@sfc-gh-mvashishtha sfc-gh-mvashishtha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one optional comment

@sfc-gh-joshi sfc-gh-joshi force-pushed the joshi/checked-default branch from d76b1ed to e39d164 Compare August 1, 2025 23:49
The reason for defaulting.
"""
# Avoids a module-level circular import
from modin.core.execution.dispatching.factories.dispatcher import FactoryDispatcher

Check notice

Code scanning / CodeQL

Cyclic import Note

Import of module
modin.core.execution.dispatching.factories.dispatcher
begins an import cycle.
@sfc-gh-joshi sfc-gh-joshi force-pushed the joshi/checked-default branch from 5e214ce to 537ccbf Compare August 7, 2025 16:09
@sfc-gh-joshi sfc-gh-joshi merged commit fd2fb44 into modin-project:main Aug 7, 2025
40 checks passed
@sfc-gh-joshi sfc-gh-joshi deleted the joshi/checked-default branch August 7, 2025 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Native pandas backend still raises default to pandas warning for some methods

2 participants