blaze / castra

Partitioned storage system based on blosc. **No longer actively maintained.**
BSD 3-Clause "New" or "Revised" License
153 stars 21 forks source link

ValueError: Expected iterable of tuples of (name, dtype), got ['archived', 'author',....] #67

Open oikonang opened 7 years ago

oikonang commented 7 years ago

I am trying to replicate the example of this page: http://blaze.pydata.org/blog/2015/09/08/reddit-comments/ about castra, dask and reddit comments, and I get this 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.

Can you please check?

p-himik commented 7 years ago

In case someone else has this problem - as a workaround you can create Castra object manually and then use c.to_dask(list(zip(c.columns, c.dtypes))).