-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to parse Date #113
Comments
I think you are starting this from JuliaDB, right? Could you try whether it works if you stick with just TextParse.jl? Like this: using TextParse
csvread(
"/Users/christopheralexander/Documents/testcsv.csv",
colparsers=Dict(10=> dateformat"yyyymmdd"),
colnames=["usaf", "wban", "name", "ccode", "state", "icao", "lat", "lon", "elev", "startdate", "enddate"],
header_exists=false
) 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 |
Lets leave it open for now, there is probably a way that we could improve this. |
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: