You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to use the study.trials_dataframe() functions, pandas dataframe object is returned. But since the setup.py doesn't have a requirement to install panda package, it causes an error. In optuna.study._dataframe.py file, there is a check to try importing pandas if available. There is no exception cause here. Should pandas be set as a requirement?
Environment
Optuna version:3.5.0
Python version:3.10.13
OS:Linux-5.15.0-94-generic-x86_64-with-glibc2.31
(Optional) Other libraries and their versions:
Error messages, stack traces, or logs
ImportError: Tried to import 'pandas' but failed. Please make sure that the package is installed correctly to use this feature. Actual error: No module named 'pandas'.
Expected behavior
While trying to use the study.trials_dataframe() functions, pandas dataframe object is returned. But since the setup.py doesn't have a requirement to install panda package, it causes an error. In optuna.study._dataframe.py file, there is a check to try importing pandas if available. There is no exception cause here. Should pandas be set as a requirement?
Environment
Error messages, stack traces, or logs
Steps to reproduce
1.Run any study
Additional context (optional)
No response
The text was updated successfully, but these errors were encountered: