I’m trying to use CSVFiles.jl to read a .tsv file that has a non-standard file extension (which cannot easily be changed).
The readme suggests
df = DataFrame(load(Stream(format"CSV", io)))
But trying to apply this pattern results in the following error:
path = "/file/tree/my_nonstandard_file.1b" f = open(path) df = load(Stream(format"CSV", f)) |> DataFrame head(df)
What am I doing wrong here?
(By the way, I know there are alternatives (CSV.jl, DelimitedFiles etc.), but I would like to make CSVFiles work in this case)