From 3019e38e49e7f8c5866d5c094d12be8346c722b3 Mon Sep 17 00:00:00 2001 From: Will Raschkowski Date: Fri, 26 Nov 2021 15:29:35 +0000 Subject: [PATCH] Raise Pandas minimum version to 1.0.0 --- python/pyspark/sql/pandas/utils.py | 2 +- python/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/pyspark/sql/pandas/utils.py b/python/pyspark/sql/pandas/utils.py index cc0db017c301f..3559e8e44d0a0 100644 --- a/python/pyspark/sql/pandas/utils.py +++ b/python/pyspark/sql/pandas/utils.py @@ -19,7 +19,7 @@ def require_minimum_pandas_version() -> None: """Raise ImportError if minimum version of Pandas is not installed""" # TODO(HyukjinKwon): Relocate and deduplicate the version specification. - minimum_pandas_version = "0.23.2" + minimum_pandas_version = "1.0.0" from distutils.version import LooseVersion diff --git a/python/setup.py b/python/setup.py index 4507a2686e2c5..99375bf7ddee5 100755 --- a/python/setup.py +++ b/python/setup.py @@ -111,7 +111,7 @@ def _supports_symlinks(): # For Arrow, you should also check ./pom.xml and ensure there are no breaking changes in the # binary format protocol with the Java version, see ARROW_HOME/format/* for specifications. # Also don't forget to update python/docs/source/getting_started/install.rst. -_minimum_pandas_version = "0.23.2" +_minimum_pandas_version = "1.0.0" _minimum_pyarrow_version = "1.0.0"