-
-
Notifications
You must be signed in to change notification settings - Fork 803
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
Object data types are no longer inferred from data frames #3177
Comments
Yeah, this is from #3114. I don't think the workaround datetime workaround is going to work here because the error message doesn't include enough information to determine the correct type to infer. I think we could catch NotImplementedErrors exceptions raised from this line: And then try again with the pandas implementation (if the datarame is a pandas DataFrame). I'll take this. Do you think warrants an immediate 5.1.1? |
Or maybe using the |
Great, thank you! I think I quick 5.1.1 would be helpful if you both have time for that, but not critical if time is tight. I agree with @mattijn that |
Altair v5.1.0 includes a regression on inferring data types (see vega/altair#3177 for more details). To unblock, excluding this version but will revisit based on whether patch released.
I'll get this fixed shortly. I'll tag you for review @mattijn, and then you can make the 5.1.1 release at your convenience. |
Altair v5.1.0 includes a regression on inferring data types (see vega/altair#3177 for more details). To unblock, excluding this version but will revisit based on whether patch released.
Altair v5.1.0 includes a regression on inferring data types (see vega/altair#3177 for more details). To unblock, excluding this version but will revisit based on whether patch released.
Altair v5.1.0 includes a regression on inferring data types (see vega/altair#3177 for more details). To unblock, excluding this version but will revisit based on whether patch released.
Support for inferring the data type from object columns in data frames used to work, but is not working anymore:
@jonmmease I think this is a regression from #3114 that added support for the dataframe interchange as it used to work fine in Altair 5 (see screenshot below). Do you think it is possible to add a workaround similar to what you have done for datetime data until there is official pyarrow support?
Altair 5.0:

The text was updated successfully, but these errors were encountered: