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

Deal with the mad aggregation being removed in Pandas 2 #602

Merged

Conversation

bartbroere
Copy link
Contributor

Pandas 2 has removed the mad aggregation. To be able to test whether eland's version produces the correct result, we can implement it ourselves, just for the tests.

Of course I'm open to other ideas (skipping the metric if we are in Pandas 2 perhaps?).

Related pandas issue: pandas-dev/pandas#11787
Related to #601

@bartbroere bartbroere changed the title Deal with the mad aggregation being removed in Pandas 2 WIP: Deal with the mad aggregation being removed in Pandas 2 Sep 14, 2023
@bartbroere bartbroere changed the title WIP: Deal with the mad aggregation being removed in Pandas 2 Deal with the mad aggregation being removed in Pandas 2 Sep 14, 2023
Copy link
Member

@davidkyle davidkyle left a comment

Choose a reason for hiding this comment

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

LGTM

@davidkyle davidkyle added the topic:dataframe Issue or PR about eland.DataFrame label Sep 26, 2023
@pquentin
Copy link
Member

buildkite test this please

Copy link
Member

@pquentin pquentin left a comment

Choose a reason for hiding this comment

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

Can you please run nox -s format?

@bartbroere
Copy link
Contributor Author

Can you please run nox -s format?

Done! Sorry about that.

@davidkyle
Copy link
Member

@pquentin the PR build seems to have hung how can I restart it?

@pquentin
Copy link
Member

buildkite test this please

@pquentin pquentin merged commit 5e5f36b into elastic:main Nov 6, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic:dataframe Issue or PR about eland.DataFrame
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants