-
Notifications
You must be signed in to change notification settings - Fork 20
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
Support dataframe columns containing lists #380
Comments
Thanks for the report! My initial guess (based on the error message) is that the issues here is that the chart facets by the list column, which results in a |
Tracking upstream in apache/datafusion#7473 |
This isn't straightforward to work around unfortunately. VegaFusion's planning logic, which decides which transforms should be evaluated on the server, doesn't currently have access to the schema of the input tables, so we can't just check the column types and keep the aggregate transform on the client if there's a list column. |
Upstream support in DataFusion was merged in apache/datafusion#7616. So when DataFusion 32 is released and VegaFusion updates to it, this bug will be fixed. I'll keep this open until VegaFusion has the update |
That's great, thank you Jon! |
This chart renders fine using the default renderer in Altair
Trying the same chart after enabling vegafusion with
alt.data_transformers.enable('vegafusion')
, yields this error:While lists are useful to split strings over multiple lines, there might be a workaround here using labelExpr. However, this is for a class taught to first year students and I want to avoid making it too complicated so I might just stick with single line string labels for now.
The text was updated successfully, but these errors were encountered: