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

FEAT-#6153: Add API layer implementations for some stat methods. #6156

Merged

Conversation

mvashishtha
Copy link
Collaborator

@mvashishtha mvashishtha commented May 18, 2023

What do these changes do?

FEAT-#6153: Add API layer implementations for some stat methods.

Also fix some other expanding methods that were not tested and/or were broken. test_expanding wasn't running in CI until this commit, so we missed some errors.

  • 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 FEAT: Add API layer implementations for some stat methods #6153
  • tests added and passing
  • module layout described at docs/development/architecture.rst is up-to-date

mvashishtha added 2 commits May 17, 2023 23:08
…methods.

Signed-off-by: mvashishtha <mahesh@ponder.io>
Signed-off-by: mvashishtha <mahesh@ponder.io>
modin/pandas/window.py Fixed Show fixed Hide fixed
modin/pandas/window.py Fixed Show fixed Hide fixed
modin/pandas/window.py Fixed Show fixed Hide fixed
modin/pandas/window.py Fixed Show fixed Hide fixed
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 couple of quick questions - CI failure seems unrelated to the code (conda install fail). Will hold off on rerunning until comments are addressed, in case additional pushes are required.

modin/core/storage_formats/base/query_compiler.py Outdated Show resolved Hide resolved
modin/pandas/test/test_expanding.py Show resolved Hide resolved
modin/pandas/window.py Outdated Show resolved Hide resolved
modin/pandas/dataframe.py Show resolved Hide resolved
Signed-off-by: mvashishtha <mahesh@ponder.io>
@mvashishtha mvashishtha marked this pull request as ready for review May 18, 2023 15:14
@mvashishtha mvashishtha requested a review from a team as a code owner May 18, 2023 15:14
@@ -377,17 +389,66 @@
)
)

def sem(self, *args, **kwargs):
def cov(self, other=None, pairwise=None, ddof=1, numeric_only=False, **kwargs):
from .dataframe import DataFrame

Check notice

Code scanning / CodeQL

Cyclic import

Import of module [modin.pandas.dataframe](1) begins an import cycle.
def sem(self, *args, **kwargs):
def cov(self, other=None, pairwise=None, ddof=1, numeric_only=False, **kwargs):
from .dataframe import DataFrame
from .series import Series

Check notice

Code scanning / CodeQL

Cyclic import

Import of module [modin.pandas.series](1) begins an import cycle.
)

def corr(self, other=None, pairwise=None, ddof=1, numeric_only=False, **kwargs):
from .dataframe import DataFrame

Check notice

Code scanning / CodeQL

Cyclic import

Import of module [modin.pandas.dataframe](1) begins an import cycle.

def corr(self, other=None, pairwise=None, ddof=1, numeric_only=False, **kwargs):
from .dataframe import DataFrame
from .series import Series

Check notice

Code scanning / CodeQL

Cyclic import

Import of module [modin.pandas.series](1) begins an import cycle.
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.

LGTM!

@RehanSD RehanSD merged commit adeb57e into modin-project:master May 18, 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.

FEAT: Add API layer implementations for some stat methods
2 participants