TypeError: cannot convert the series to <class 'float'>
TypeError: cannot convert the series to <class 'float'>
確かXとYが間違っていて、
空のをconvertしようとするときに出た気がする。
Traceback (most recent call last): File "optuna.py", line 252, in <module> study = optuna.create_study(direction='maximize')#create_study(direction='maximize') AttributeError: module 'optuna' has no attribute 'create_study'
import optuna
>>> print(optuna)
<module 'optuna' from 'C:\\Users\\kuriy\\Desktop\\Adaco\\#27Comparison_of_opt\\optuna.py'>
ファイル名はoptunaとしてしまっていたことにより、参照先のファイルが間違って内部で処理されていた。