From c8c03495117e2d15912534d6cfcbf49fef3a7797 Mon Sep 17 00:00:00 2001 From: Devin Petersohn Date: Wed, 6 Jun 2018 12:01:43 -0700 Subject: [PATCH] [DataFrame] Temporarily changing the requirement until our pandas compat is updated (#2197) * Temporarily changing the requirement until our pandas compat is updated for 0.23 * Fix lint --- python/ray/dataframe/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/ray/dataframe/__init__.py b/python/ray/dataframe/__init__.py index f59805e21..c81f40085 100644 --- a/python/ray/dataframe/__init__.py +++ b/python/ray/dataframe/__init__.py @@ -16,9 +16,9 @@ pd_version = pd.__version__ pd_major = int(pd_version.split(".")[0]) pd_minor = int(pd_version.split(".")[1]) -if pd_major == 0 and pd_minor < 22: - raise Exception("In order to use Pandas on Ray, please upgrade your Pandas" - " version to >= 0.22.") +if pd_major == 0 and pd_minor != 22: + raise Exception("In order to use Pandas on Ray, your pandas version must " + "be 0.22. You can run 'pip install pandas==0.22'") DEFAULT_NPARTITIONS = 8