[ https://issues.apache.org/jira/browse/ARROW-18226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17628380#comment-17628380 ]
Joris Van den Bossche commented on ARROW-18226: ----------------------------------------------- Can you print {{pyarrow.__version__}} in the script where you get this error, to ensure you are really using a latest version? Another question: how did you install pyarrow? > [Python] pyarrow.lib.ArrowInvalid: Not a Feather V1 or Arrow IPC file > --------------------------------------------------------------------- > > Key: ARROW-18226 > URL: https://issues.apache.org/jira/browse/ARROW-18226 > Project: Apache Arrow > Issue Type: Bug > Components: Python > Affects Versions: 0.17.0 > Environment: ubuntu > Reporter: bade tutuş > Priority: Major > Attachments: HeLa-S3-training.feather > > > h2. feather.read_dataframe throws the error below. > Traceback (most recent call last): > File "./cv.py", line 86, in <module> > get_training('HeLa-S3'), > File "./cv.py", line 19, in get_training > > feather.read_dataframe(f'\{cell_line}-training.feather').set_index(['chr1', > 'x1', 'x2', 'chr2', 'y1', 'y2']) > File "/home/bade/.local/lib/python3.7/site-packages/pyarrow/feather.py", > line 208, in read_feather > return (read_table(source, columns=columns, memory_map=memory_map) > File "/home/bade/.local/lib/python3.7/site-packages/pyarrow/feather.py", > line 230, in read_table > reader.open(source, use_memory_map=memory_map) > File "pyarrow/feather.pxi", line 67, in pyarrow.lib.FeatherReader.open > File "pyarrow/error.pxi", line 123, in > pyarrow.lib.pyarrow_internal_check_status > File "pyarrow/error.pxi", line 85, in pyarrow.lib.check_status > pyarrow.lib.ArrowInvalid: Not a Feather V1 or Arrow IPC file -- This message was sent by Atlassian Jira (v8.20.10#820010)