FLAML icon indicating copy to clipboard operation
FLAML copied to clipboard

pandas 2.0 support

Open fermiyon opened this issue 1 year ago • 3 comments

Summary

pandas 2.0 support

Description

When attempting to import AutoML with 'from flaml import AutoML', I received an error due to pandas 2.0. The error message stated 'AttributeError: module 'pandas.core.strings' has no attribute 'StringMethods'.'

However, after downgrading pandas to version 1.5.3, the issue was resolved.

fermiyon avatar Apr 08 '23 00:04 fermiyon

Solution

As pointed out in https://github.com/microsoft/LightGBM/issues/5739#issuecomment-1500809138, upgrading Dask resolved the issue.

fermiyon avatar Apr 08 '23 22:04 fermiyon

The aforementioned issue has been reopened as LightGBM has issues with the PyArrow backend of new pandas.

harshvardhaniimi avatar Apr 26 '23 18:04 harshvardhaniimi

The aforementioned issue has been reopened as LightGBM has issues with the PyArrow backend of new pandas.

Thanks @harshvardhaniimi , does the issue still exist? I don't see the issue in my env.

thinkall avatar Apr 18 '24 13:04 thinkall