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

pandas 0.23.0 change to types #11

Merged
merged 1 commit into from
May 24, 2018

Conversation

notauni
Copy link
Contributor

@notauni notauni commented May 20, 2018

To address #10

Added from pandas.api import types.

Changed from common.is_numeric_dtype and common.is_datetime64_dtype in lines 113 and 116 to types.--- to make things work with pandas 0.23.0.

Not sure if you use from pandas.core import common anywhere else in your code but quick test with it removed doesn't seem to break anything.

Didn't do extensive testing but does seem to get things working again.

Added `from pandas.api import types`.

Changed from `common.is_numeric_dtype` and `common.is_datetime64_dtype` in lines 113 and 116 to `types.---` to make things work with pandas 0.23.0. 

Not sure if you use `from pandas.core import common` anywhere else in your code but quick test with it removed doesn't seem to break anything.

Didn't do extensive testing but does seem to get things working again.
@aflaisler
Copy link

Fixed it for me thanks

@mmourafiq mmourafiq merged commit b35beaa into polyaxon:master May 24, 2018
@mmourafiq
Copy link
Collaborator

Thanks for the fix

@maxwellmckinnon
Copy link

Great thank you!

This was referenced Jun 21, 2018
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

Successfully merging this pull request may close these issues.

4 participants