I have a pandas dataframe dfwin.
And I save it to feather format hoping I can read it in R.
But R always throws the error "Error in openFeather(path): Invalid: Not a feather file Traceback:
Can someone help me here? The R code I used is below:
library(feather)
dfwin = read_feather('./aFolder/dfwin.feather')```
I had exactly the same problem and I found a solution for it by using arrow
package in r. the following code can be used instead of read_feather()
from feather library.
arrow::read_feather("./aFolder/dfwin.feather")
I still don't understand why the function from the feather package doesn't work but the same function from arrow package can fix the issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With