Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DataFrame] Error checking on Pandas version #1660

Closed
devin-petersohn opened this issue Mar 5, 2018 · 3 comments
Closed

[DataFrame] Error checking on Pandas version #1660

devin-petersohn opened this issue Mar 5, 2018 · 3 comments
Assignees

Comments

@devin-petersohn
Copy link
Member

We need better reporting for issues with the Pandas version on a user's system.

@devin-petersohn devin-petersohn self-assigned this Mar 5, 2018
@robertnishihara
Copy link
Collaborator

How about in dataframe.py, we add a line like

# Pandas must be at least version 0.22.0.
pd_major = int(pd.__version__.split(".")[0])
pd_minor = int(pd.__version__.split(".")[1])
if (pd_major == 0) and (pd_minor < 22):
    raise Exception("Your Pandas version is less than 0.22.0. Please "
                    "update Pandas to the latest version.")

@devin-petersohn
Copy link
Member Author

I was thinking it belongs in dataframe/__init__.py before we start the Ray cluster.

@robertnishihara
Copy link
Collaborator

That's probably better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants