-
Notifications
You must be signed in to change notification settings - Fork 794
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
FutureWarning in Pandas 0.24.0 #1314
Comments
@iaindillingham I just upgraded to pandas 0.24.0 and am using altair 2.3.0. What platform are you on? |
Python 3.6 on Ubuntu 18.04. The error was raised when plotting data, not upon import. I'll try and reproduce. |
I have now gotten the error. |
@iaindillingham For example: x='actual' Is that the case for you - that if you declare the type you don't get the error? |
It looks like the warning is in pandas infer_dtype function, which we use in automatically determining the data type when not specified by the user here. |
Yes, @afonit that's correct. Although only when I use the shorthand syntax, not when I supply a |
Fix is to explicitly pass We'll have to do it carefully, though, because prior to pandas 0.20.0, |
I pushed a fix in #1315 |
BUG: specify skipna in infer_dtypes (fixes #1314)
Pandas 0.24.0 throws a
FutureWarning
when used with Altair 2.3.0 here, which prevents the chart being rendered correctly. The message:I notice that Altair's
requirements.txt
doesn't specify version. Would it be worth doing so?The text was updated successfully, but these errors were encountered: