Closed ohadle closed 5 years ago
I've looked into the source code and the problem boils down to TranscodingStreams.jl not supporting position
and seek
(other methods are available though: seekstart
, mark
, reset
).
So either position
and seek
get implemented there (corresponding issue: https://github.com/bicycle1885/TranscodingStreams.jl/issues/62) or Parsers.jl and CSV.jl change their implementation to use only whats also available on all IO objects. I guess the former would be better.
I had a similar problem with some after the CSV update. My solution, which feels hacky but works, was to encansulate the io in CSV.read(IOBuffer(read(io))). Interestingly, after this, I don't seem to have "type-detect" issues, which were very common in my data. Don't know if that works here, because I was working with Zipped files, but if someone wants to try. I might do a test in a local branch later today.
Adding various packages didn't help. Maybe an API changed? This looks similar.