-
Notifications
You must be signed in to change notification settings - Fork 45
Error in openFeather(path) : Invalid: Not a feather file #315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This error can be reproduced quite simply: import pandas as pd
df = pd.DataFrame({'a': [1,2,3], 'b': [4,5,6]})
df.to_feather('out.f') same error |
See also pandas-dev/pandas#34670 |
Closing here as this is not a problem of pyabc. One should use the latest arrow packages (or feather, at some point) on python and R side, see the above link. |
Here is a work-around, as I encounter this issue even though I am using the latest arrow(2.0.0)/feather(0.3.5) packages in R. |
Thanks to @nbungi, I find this link https://arrow.apache.org/docs/python/feather.html.
|
For me, when using |
The feather format appears to be somewhat cumbersome, with different tools implementing/supporting different versions etc.. Not sure what lead to this error, but just to recapitulate a few options:
|
When exporting the database to feather format, e.g. via
and importing in R via
we get
this happens only for some versions, e.g. pyabc 0.10.3, pandas 1.0.4, R 3.6.3.
The text was updated successfully, but these errors were encountered: