smazzanti / mrmr

mRMR (minimum-Redundancy-Maximum-Relevance) for automatic feature selection at scale.
MIT License
531 stars 79 forks source link

mrmr_base function running forever due to pandas version issue #24

Closed lucas-sancere closed 1 year ago

lucas-sancere commented 1 year ago

Hi @smazzanti,

I was running mrmr_classif on my local machine with a pandas DataFrame and a pandas DataSeries as *args, but the run never stopped and didn't show any error message.

While debugging mrmr_base function stepping into the code, I ended up with RecursionError: maximum recursion depth exceeded while calling a Python object

Which is apparently a known issue in pandas.

Upgrading Pandas 1.1.5 to Pandas 1.5.2 fixed the issue (but I also needed to upgrade python because latest pandas support only latest python).