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

REFACTOR-#6063: Add query compiler interfaces for some strings methods. #6088

Conversation

mvashishtha
Copy link
Collaborator

What do these changes do?

  • 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 REFACTOR: add query compiler interfaces for some string methods #6063
  • tests added and passing
  • module layout described at docs/development/architecture.rst is up-to-date

…trings methods.

Signed-off-by: mvashishtha <mahesh@ponder.io>
if expand:
return self._default_to_pandas(
pandas.Series.str.split, pat=pat, n=n, expand=expand, regex=regex
from .dataframe import DataFrame

Check notice

Code scanning / CodeQL

Cyclic import

Import of module [modin.pandas.dataframe](1) begins an import cycle.
@@ -183,8 +191,12 @@
raise ValueError("rsplit() requires a non-empty pattern match.")

if expand:
return self._default_to_pandas(
pandas.Series.str.rsplit, pat=pat, n=n, expand=expand
from .dataframe import DataFrame

Check notice

Code scanning / CodeQL

Cyclic import

Import of module [modin.pandas.dataframe](1) begins an import cycle.
query_compiler = self._query_compiler.str_extract(
pat, flags=flags, expand=expand
)
from .dataframe import DataFrame

Check notice

Code scanning / CodeQL

Cyclic import

Import of module [modin.pandas.dataframe](1) begins an import cycle.
sep=sep, expand=expand
)
)
from .dataframe import DataFrame

Check notice

Code scanning / CodeQL

Cyclic import

Import of module [modin.pandas.dataframe](1) begins an import cycle.
sep=sep, expand=expand
)
)
from .dataframe import DataFrame

Check notice

Code scanning / CodeQL

Cyclic import

Import of module [modin.pandas.dataframe](1) begins an import cycle.
modin/pandas/series_utils.py Fixed Show fixed Hide fixed
Signed-off-by: mvashishtha <mahesh@ponder.io>
@mvashishtha mvashishtha marked this pull request as ready for review May 4, 2023 18:23
@mvashishtha mvashishtha requested a review from a team as a code owner May 4, 2023 18:23
Copy link
Collaborator

@RehanSD RehanSD left a comment

Choose a reason for hiding this comment

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

Left a few quick questions, but overall LGTM!

modin/pandas/series_utils.py Show resolved Hide resolved
modin/pandas/series_utils.py Show resolved Hide resolved
modin/pandas/test/test_series.py Show resolved Hide resolved
@RehanSD RehanSD merged commit cf9e7fc into modin-project:master May 4, 2023
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.

REFACTOR: add query compiler interfaces for some string methods
2 participants