Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pandas 2.0 support #984

Open
fermiyon opened this issue Apr 8, 2023 · 3 comments
Open

pandas 2.0 support #984

fermiyon opened this issue Apr 8, 2023 · 3 comments
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request help wanted Extra attention is needed

Comments

@fermiyon
Copy link

fermiyon commented Apr 8, 2023

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.

@sonichi sonichi added enhancement New feature or request dependencies Pull requests that update a dependency file help wanted Extra attention is needed labels Apr 8, 2023
@fermiyon
Copy link
Author

fermiyon commented Apr 8, 2023

Solution

As pointed out in microsoft/LightGBM#5739 (comment), upgrading Dask resolved the issue.

@harshvardhaniimi
Copy link

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

@thinkall
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants