Skip to content

Commit c8c0349

Browse files
devin-petersohnpschafhalter
authored andcommitted
[DataFrame] Temporarily changing the requirement until our pandas compat is updated (ray-project#2197)
* Temporarily changing the requirement until our pandas compat is updated for 0.23 * Fix lint
1 parent 5b0df0e commit c8c0349

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/ray/dataframe/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
pd_major = int(pd_version.split(".")[0])
1717
pd_minor = int(pd_version.split(".")[1])
1818

19-
if pd_major == 0 and pd_minor < 22:
20-
raise Exception("In order to use Pandas on Ray, please upgrade your Pandas"
21-
" version to >= 0.22.")
19+
if pd_major == 0 and pd_minor != 22:
20+
raise Exception("In order to use Pandas on Ray, your pandas version must "
21+
"be 0.22. You can run 'pip install pandas==0.22'")
2222

2323
DEFAULT_NPARTITIONS = 8
2424

0 commit comments

Comments
 (0)