rasbt / mlxtend

A library of extension and helper modules for Python's data analysis and machine learning libraries.
https://rasbt.github.io/mlxtend/
Other
4.85k stars 857 forks source link

Update sparse array handling to run unit tests on newer pandas & scipy versions #889

Open rasbt opened 2 years ago

rasbt commented 2 years ago

Mlxtend currently requires the following versions for the unit tests (see workflow):

I noticed unit tests fail with more recent versions. Presumably due to an internal change regarding sparse arrays/data frames in pandas and SciPy. I currently don't have time to fix it, hence the Issue as a reminder (and help and PRs would be super welcome :))

Steps/Code to Reproduce

Install latest packages via

conda install pandas scipy numpy scikit-learn tensorflow pytest -y 

Then run unit tests via

PYTHONPATH="." pytest mlxtend/  
namanmistry commented 1 year ago

Hey @rasbt I have fixed the load_boston dereciation in test_exhaustive_feature_selector.py can you please approve my pull request and I am working on other 3 errors. So, Could you please assign it to me.