Hi, I have the data in 11th and 13th (accommodation cost and transportation cost) column with , and USD and $ which I would like to remove, my tutor have asked specifically using DLMReader package, informat function, I have tried the following code follow the julia doc but it just doesn’t work, can anyone tell me what’s wrong with my code, please?
the instruct doc that I followed:
https://sl-solution.github.io/DLMReader.jl/stable/man/gallery/
julia> using InMemoryDatasets,DLMReader
julia> import Downloads
julia> data=Downloads.download("https://raw.githubusercontent.com/akshdfyehd/travel/main/Travel%20details%20dataset.csv")
julia> function rm(x)
remove!(x,"USD")
end
rm (generic function with 1 method)
julia> d=filereader(data, quotechar='"', dtformat=Dict(3:4 .=> dateformat"m/d/y"), informat=Dict(11:13 .=> COMMA!∘rm))
ERROR: MethodError: no method matching filereader(::Dataset; quotechar::Char,
Thanks for any advice!