Search code examples
pythonpandasfeather

ArrowNotImplementedError: halffloat error on applying pandas.to_feather on a dataframe


I have a dataframe with columns of different datatypes including dates. No after doing some modifications, i want to save it a feather file so as to access it later. But i am getting the error on the following step

historical_transactions.to_feather('tmp/historical-raw')

ArrowNotImplementedError: halffloat

Solution

  • I guess, in your dataframe, there is columns of dtype as float16 which is not supported in feather format. you can convert those columns to float32 and try.