From 9a8bb7d186d726841bdf16dd965357198e1e283b Mon Sep 17 00:00:00 2001 From: Philip Hyunsu Cho Date: Sat, 22 Jun 2024 14:15:22 -0700 Subject: [PATCH] Require Pandas 1.2+ (#10476) --- python-package/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]