mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 13:37:39 +08:00
[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
This commit is contained in:
committed by
Peter Schafhalter
parent
5b0df0eca2
commit
c8c0349511
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user