Thanks. This fixed the problem.
Still seeing this problem, and I have the latest versions of pandas and pyarrow:
>>> import pandas
>>> pandas.__version__
'0.23.4'
>>> import pyarrow
>>> pyarrow.__version__
'0.14.0'
>>> pandas.read_feather('iris.fth')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/user/.local/lib/python3.6/site-packages/pandas/io/feather_format.py", line 112, in read_feather
return feather.read_dataframe(path, nthreads=nthreads)
TypeError: read_feather() got an unexpected keyword argument 'nthreads'
>>>
>>> import feather
>>> feather.__version__
'0.4.0'
>>> feather.read_dataframe('iris.fth').head()
sepal_length sepal_width petal_length petal_width species
0 5.1 3.5 1.4 0.2 setosa
1 4.9 3.0 1.4 0.2 setosa
2 4.7 3.2 1.3 0.2 setosa
3 4.6 3.1 1.5 0.2 setosa
4 5.0 3.6 1.4 0.2 setosa
Downgrading pyarrow to 0.10.0 seems to fix it, but as you can see the problem is back with later versions.
As suggested above following resolved the issue:
!{sys.executable} -m pip install pyarrow==0.10.0
I also got the below warning (‘nthreads’ is deprecated and to use ‘use_threads’ instead)
/home/user/anaconda3/envs/fastai/lib/python3.6/site-packages/pandas/io/feather_format.py:112: FutureWarning: `nthreads` argument is deprecated, pass `use_threads` instead
return feather.read_dataframe(path, nthreads=nthreads)