Reputation: 21
I am trying to use Dask to load a fixed width file so I can parse out the columns and load into a database, but I cannot get Dask to load the data frame. I am receiving an error saying the Expected meta to specify type DataFrame, got type pandas.core.frame.DataFrame.
Here is the code:
import dask.dataframe as dd
df == dd.read_csv("S://folder//file.csv")
Can anyone assist as to what I can do differently?
Thanks, phil
Upvotes: 1
Views: 483
Reputation: 4462
There was a bug with the similar behavior, try to update dask to the latest version, e.g. using:
pip install dask -U
Upvotes: 1