pandas.read_feather got an unexpected argument nthreads
read_feather function is as follows:
feather = _try_import()
path = _stringify_path(path)
if feather.__version__ < LooseVersion('0.4.0'):
return feather.read_dataframe(path)
return feather.read_dataframe(path, nthreads=nthreads)
The read_feather function calls the feather.read_dataframe inturn. You can import feather and call feather.read_dataframe('path') directly.
import feather
feather.read_dataframe(path)
Try replacing below line
df_hist= pd.read_feather('tmp/historical-raw')
with
import feather
df_hist=feather.read_dataframe('tmp/historical-raw')
above change worked for me