diff --git a/python-package/pyproject.toml b/python-package/pyproject.toml index ab0af65ea..a273d8c13 100644 --- a/python-package/pyproject.toml +++ b/python-package/pyproject.toml @@ -39,7 +39,7 @@ documentation = "https://xgboost.readthedocs.io/en/stable/" repository = "https://github.com/dmlc/xgboost" [project.optional-dependencies] -pandas = ["pandas"] +pandas = ["pandas>=1.2"] scikit-learn = ["scikit-learn"] dask = ["dask", "pandas", "distributed"] datatable = ["datatable"]