Skip to content

Commit

Permalink
[DataFrame] Temporarily changing the requirement until our pandas com…
Browse files Browse the repository at this point in the history
…pat is updated (ray-project#2197)

* Temporarily changing the requirement until our pandas compat is updated
for 0.23

* Fix lint
  • Loading branch information
devin-petersohn authored and pschafhalter committed Jun 6, 2018
1 parent 5b0df0e commit c8c0349
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/ray/dataframe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
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

Expand Down

0 comments on commit c8c0349

Please sign in to comment.