I used conda install pyarrow
to install pyarrow in Spyder launched through Anaconda navigator. But I received the following error after I try to save a file in feather format.
Traceback (most recent call last): File "", line 1, in pyarrow.feather.write_feather(df,"/Users/omg/Downloads/testFeather.ftr") AttributeError: module 'pyarrow' has no attribute 'feather'
The code is
import pandas as pd
import pyarrow
tempArr = np.reshape(np.zeros(10), (5,2))
tempArr += 1
df = pd.DataFrame(tempArr, columns=['a', 'b'])
pyarrow.feather.write_feather(df,"/Users/omg/Downloads/testFeather.ftr")
versions are: pyarrow.version '0.11.1' np.version '1.18.1'
pd.version '1.0.3'