(no title)
ddanieltan | 2 years ago
MaxRowsError: The number of rows in your dataset is greater than the maximum allowed (5000).
but ever since the Vegafusion companion library came unto the scene, I'm back using Altair.Overall, it's my preferred Python viz library although I do wish there was a better way for the Python library to better use introspection. After all, rather than
alt.Chart(df).mark_line.encode(x="abc:Q")
to provide the information that abc is a quantitative variable, I'd much rather the library be able to introspect the df object, column abc to derive the data type and make the inference the column is quantitative.That said, I'm already used to the extra syntax so still feel confident in using this library daily.
joelostblom|2 years ago
If you are reading the data directly from a URL instead of via a dataframe, the URL is passed on to Vega-Lite and Python never sees the data, so no introspection can be made on the Altair side of things.
(disclaimer: I'm a co-maintainer of Altair)