elastic / eland

Python Client and Toolkit for DataFrames, Big Data, Machine Learning and ETL in Elasticsearch
https://eland.readthedocs.io
Apache License 2.0
635 stars 98 forks source link

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

Closed bartbroere closed 10 months ago

bartbroere commented 11 months ago

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: https://github.com/pandas-dev/pandas/issues/11787 Related to #601

pquentin commented 11 months ago

buildkite test this please

bartbroere commented 10 months ago

Can you please run nox -s format?

Done! Sorry about that.

davidkyle commented 10 months ago

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

pquentin commented 10 months ago

buildkite test this please