Install & Compatibility
Where this runs
tested against v0.4.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.124s · 194.1MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 4.2s · import 0.108s · 170MB
178MB installed
● package 178MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
read_dataframe
✓ from feather import read_dataframe
✗ import feather; feather.read_dataframe(...)
Legacy API was feather.read_dataframe; the recommended import is from feather import read_dataframe to avoid namespace confusion.
write_dataframe
✓ from feather import write_dataframe
✗ import feather; feather.write_dataframe(...)
Same as read_dataframe.
Write and read a Feather file using feather-format.
import pandas as pd
from feather import read_dataframe, write_dataframe
df = pd.DataFrame({'x': [1,2,3], 'y': ['a','b','c']})
write_dataframe(df, 'test.feather')
df2 = read_dataframe('test.feather')
print(df2)
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'feather'
You installed `feather` (a different, unrelated package) instead of `feather-format`.
fixRun `pip uninstall feather` then `pip install feather-format` or `pip install pyarrow`.
AttributeError: module 'feather' has no attribute 'read_dataframe'
Common name collision: `import feather` often imports the wrong `feather` package (an IRC bot library) instead of feather-format.
fixUse explicit import: `from feather import read_dataframe` ensures you get the right module.
feather.libfeather.FeatherError: Unsupported Feather version
The file was written by a newer Feather specification (V2) that feather-format cannot read. feather-format only supports V1.
fixUse pyarrow.feather.read_feather to read modern Feather files: `pip install pyarrow` then `from pyarrow.feather import read_feather`.
Upgrade
Version history
0.4.1latest on PyPI · released Apr 27, 2020
Audit
Dependencies
pyarrowrequiredCore dependency for reading/writing Feather files