You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: MethodError: no method matching length(::TextParse.StrRange)
Closest candidates are:
length(::Core.SimpleVector) at essentials.jl:561
length(::Base.MethodList) at reflection.jl:801
length(::Core.MethodTable) at reflection.jl:875
...
_similar_for(::UnitRange{Int64}, ::Type{Any}, ::TextParse.StrRange, ::Base.HasLength) at ./array.jl:517
_collect(::UnitRange{Int64}, ::TextParse.StrRange, ::Base.HasEltype, ::Base.HasLength) at ./array.jl:550
collect(::TextParse.StrRange) at ./array.jl:544
broadcastable(::TextParse.StrRange) at ./broadcast.jl:614
broadcasted at ./broadcast.jl:1159 [inlined]
Is the syntax I am using wrong?
The text was updated successfully, but these errors were encountered:
And for the error, is there more output, i.e. more of a stack trace? It is difficult to tell where things go wrong from just the stack trace that you posted.
Gonna resolve this, but you can consider whether it is actually a bug or not. I had to pass to colparsers this: 10 => dateformat"\"yyyymmdd\"" because I guess the date was literally enclosed in quotes.
I am trying to parse a simple CSV which looks like this:
and I am trying to parse the last two columns as dates (
dateformat"yyyymmdd"
)I believe this is the correct way to set up the colparser for the load:
...however I am getting the following exception:
Is the syntax I am using wrong?
The text was updated successfully, but these errors were encountered: