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)"
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