When using the pen package ( http://blog.cloudera.com/blog/2016/03/feather-a-fast-on-disk-format-for-data-frames-for-r-and-python-powered-by -apache-arrow / ), in order to try to write a simple 20x20 data file, I keep getting an error message until it is supported. I do not believe that my data is alternating (or unusual), and I can reproduce the sample code given on the website, but I can not get it to work with my own. Here is a sample code:
import feather import numpy as np import pandas as pd tempArr = reshape(np.arange(400), (20,20)) df = pd.DataFrame(tempArr) feather.write_dataframe(df, 'test.feather')
The following error appears on the last line:
FeatherError: Invalid: no support for strided data yet
I am running this on Ubuntu 14.04. Perhaps I misunderstood something about how pandas data frames are saved?
source share