You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell, dask bags can only be converted to dask dataframes when query planning is disabled. It would be great to support both query planning, and the flexibility of turning bags into dataframes. Currently calling to_dataframe with query planning enabled throws the following error.
df = bag.to_dataframe(columns=['line'])
File ".../python3.10/site-packages/dask/bag/core.py", line 1624, in to_dataframe
return dd.DataFrame(dsk, dfs.name, meta, divisions)
TypeError: FrameBase.init() takes 2 positional arguments but 5 were given
The text was updated successfully, but these errors were encountered:
As far as I can tell, dask bags can only be converted to dask dataframes when query planning is disabled. It would be great to support both query planning, and the flexibility of turning bags into dataframes. Currently calling to_dataframe with query planning enabled throws the following error.
The text was updated successfully, but these errors were encountered: