in Project-AutoML/automl/mod/mod_flaml.py [0:0]
def convert_y(y): if isinstance(y, pd.DataFrame): y = y.to_numpy().reshape(-1) return y