Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error using the feather format package

I am having trouble using the feather format to export data. I have installed the package using:

conda install feather-format -c conda-forge

however, when I use pd.to_feather() I get an error telling me to install the package (which is already installed).

ImportError: the feather-format library is not installed you can install via conda conda install feather-format -c conda-forge or via pip pip install -U feather-format

I also tried using pyarrow, but I am getting another error, saying

ImportError: cannot import name 'cpu_count'

Can you please tell what am I doing wrong? Thank you

like image 609
Ame.Lia Avatar asked Jul 17 '26 18:07

Ame.Lia


1 Answers

Feather has found a new home in the pyarrow module, so no need to install Feather anymore.

I can recommend you to have a look at Feather format update: Whence and Whither?, that explains why and in general is a nice little walk through of the changes plus a benchmark between the pyarrow and legacy feather module - interesting since we all use the format for performance reasons :-)

like image 133
chjortlund Avatar answered Jul 19 '26 09:07

chjortlund



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!