However, under CentOS 7 (Julia 1.4.1), with the same process, Feathere.read produces the following error message
ArgumentError: Data is not in feather format: header = UInt8[0x41, 0x52, 0x52, 0x4f], footer = UInt8[0x52, 0x4f, 0x57, 0x31].
Stacktrace:
[1] validatedata(::Array{UInt8,1}) at /home/bpeng1/.julia/packages/Feather/pbm3o/src/loaddata.jl:11
[2] #loaddata#3 at /home/bpeng1/.julia/packages/Feather/pbm3o/src/loaddata.jl:17 [inlined]
[3] loaddata at /home/bpeng1/.julia/packages/Feather/pbm3o/src/loaddata.jl:17 [inlined]
[4] #loaddata#6 at /home/bpeng1/.julia/packages/Feather/pbm3o/src/loaddata.jl:23 [inlined]
[5] Feather.Source(::String; use_mmap::Bool) at /home/bpeng1/.julia/packages/Feather/pbm3o/src/source.jl:17
[6] read(::String; use_mmap::Bool) at /home/bpeng1/.julia/packages/Feather/pbm3o/src/source.jl:69
[7] read(::String) at /home/bpeng1/.julia/packages/Feather/pbm3o/src/source.jl:69
[8] top-level scope at In[10]:2
Edit: It seems that the files saved by pandas are different.
This file is saved on macosx and can be read by Feathre.read on CentOS:
https://github.com/vatlab/sos-julia/issues/20
To reproduce the problem
pandas
DataFrame
in Python as followsAs you can see, the file can be loaded correctly in Python.
However, under CentOS 7 (Julia 1.4.1), with the same process,
Feathere.read
produces the following error messageEdit: It seems that the files saved by pandas are different.
Feathre.read
on CentOS:test.txt
test_from_centos.feather.txt
On both systems,, I am using a conda environment with pandas 1.0.3 and feather-format 0.4.1.