vega / vegafusion

Serverside scaling for Vega and Altair visualizations
https://vegafusion.io
BSD 3-Clause "New" or "Revised" License
303 stars 15 forks source link

Fix arrow type inference error (fall back to string) #473

Closed jonmmease closed 3 months ago

jonmmease commented 3 months ago

Closes #472

This PR updates the PandasDatasource to handle pandas columns with mixed types that trigger a pyarrow error. In this case we fall back to reporting the column type as string, and then convert the column to string in fetch if it's requested.