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

FIX-#7153: Fix Series.corr with method != pearson #7158

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

anmyachev
Copy link
Collaborator

@anmyachev anmyachev commented Apr 9, 2024

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 AttributeError: 'PandasQueryCompiler' object has no attribute 'series_corr' #7153
  • tests added and passing
  • module layout described at docs/development/architecture.rst is up-to-date

@anmyachev anmyachev force-pushed the issue7153 branch 2 times, most recently from 2d3c1c4 to aaf99d4 Compare April 9, 2024 11:17
@@ -127,6 +127,7 @@ def applyier(df, *args, **kwargs):
and func not in ("divmod", pandas.Series.divmod)
and func not in ("rdivmod", pandas.Series.rdivmod)
and func not in ("to_list", pandas.Series.to_list)
and func not in ("corr", pandas.Series.corr)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To avoid wrapping a scalar in a dataframe.

@anmyachev anmyachev marked this pull request as ready for review April 9, 2024 11:18
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
@YarShev YarShev merged commit 5a518ca into modin-project:master Apr 9, 2024
36 checks passed
@anmyachev anmyachev deleted the issue7153 branch April 9, 2024 13:57
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.

AttributeError: 'PandasQueryCompiler' object has no attribute 'series_corr'
2 participants