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

Partitioning in extend_sequence does not work if len(seq) == 1 #50

Closed slavi closed 9 years ago

slavi commented 9 years ago

Say you had one giant CSV that contained 5 years of data and wanted castra to repartition it weekly. Until issue #3 gets resolved, as far as I understand the only option is extend_sequence([df], freq='M')

This does not work, because partitioner is never called on buf.

There is a workaround (pass [df, pd.DataFrame()]), but ideally extend_sequence should work.