Altair 5.5.0
VegaFusion 2.0.1
I'm trying to create charts using the vegafusion transformer, but I get the following error:
TypeError: Expected Table-like input or dict of arrays or sequence of arrays.
This code generates the error:
import pandas as pd
import altair as alt
chart_data = pd.DataFrame([1,2,3,4,5],columns=['y'])
alt.Chart(chart_data).mark_bar().encode(y='y')
I have a different computer with the same versions of Python, Altair and VegaFusion where this code works.
So far, I have tried to uninstall and reinstall Altair, VegaFusion and Python without success.
Altair 5.5.0
VegaFusion 2.0.1
I'm trying to create charts using the vegafusion transformer, but I get the following error:
TypeError: Expected Table-like input or dict of arrays or sequence of arrays.
This code generates the error:
import pandas as pdimport altair as altchart_data = pd.DataFrame([1,2,3,4,5],columns=['y'])alt.Chart(chart_data).mark_bar().encode(y='y')I have a different computer with the same versions of Python, Altair and VegaFusion where this code works.
So far, I have tried to uninstall and reinstall Altair, VegaFusion and Python without success.