FLAML
FLAML copied to clipboard
pandas 2.0 support
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.
Solution
As pointed out in https://github.com/microsoft/LightGBM/issues/5739#issuecomment-1500809138, upgrading Dask resolved the issue.
The aforementioned issue has been reopened as LightGBM
has issues with the PyArrow backend of new pandas.
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.