I am trying to replicate the example of this page about castra, dask and reddit comments, and I get the above error when I run the
dd.from_castra(data,columns)
My castra file took some hours to be created but it is clean and exactly as the tutorial mentions.
Used both my macbook and an Ubuntu instance on amazon AWS and had the same issue.
Same code and file works fine in a windows PC.
Any info could be helpful!
ValueError: Expected iterable of tuples of (name, dtype), got ['archived', 'author',....]
I found the solution to the problem. It was a matter of versions. If you face the same issue do the follwing:
Step 1:
Uninstall dask using pip
Step 2:
Uninstall castra using pip
Step 3:
Install the version of dask which is compatible with castra
Step 4:
Install castra again
Step 5:
After you install the correct version, check your versions with the following commands
The versions should be equal to the ones in the screenshot:
terminal screen