のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

TypeError: read_feather() got an unexpected keyword argument 'nthreads'

df_raw = pd.read_feather('tmp/bulldozers-raw')
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-62-54f538a9be00> in <module>()
----> 1 df_raw = pd.read_feather('tmp/bulldozers-raw')

/usr/local/lib/python3.6/dist-packages/pandas/io/feather_format.py in read_feather(path, nthreads)
    110         return feather.read_dataframe(path)
    111 
--> 112     return feather.read_dataframe(path, nthreads=nthreads)

TypeError: read_feather() got an unexpected keyword argument 'nthreads'

forums.fast.ai

pd.__version__
'0.22.0'
df_raw = pd.read_feather('tmp/bulldozers-raw')

これでいいのかな?

import feather
df_raw = feather.read_dataframe('tmp/bulldozers-raw')