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 >= 1.10 KeyError #104

Open
michaelsimmler opened this issue Aug 27, 2020 · 0 comments
Open

pandas >= 1.10 KeyError #104

michaelsimmler opened this issue Aug 27, 2020 · 0 comments

Comments

@michaelsimmler
Copy link

Dear Lars

I experience a KeyError after random number of trials with RandomSearch and ASHA. It was related to my pandas version > 1.1.0. Editing Line 189 in core.py to capture KeyError and not TypeError fixed the problem.

the release Notes of pandas 1.1.0 states:
"Label lookups series[key], series.loc[key] and frame.loc[key] used to raise either KeyError or TypeError depending on the type of key and type of Index. These now consistently raise KeyError (GH31867)"

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant