3

I am very new to Julia, and I am having an issue with JuliaDB loadtable("myfile").If I understand well, the problem is that the dates are in the format dd/mm/yyyy, e.g. 21/07/1985. I am told 'ArgumentError:Month: 14 out of range (1:12). How can I tell Julia the format of the date of the file I am reading?

Joao
  • 31
  • 1

1 Answers1

1

As answered here, you can use the argument colparsers to solve your issue:

loadtable(path, colparsers=Dict(:datecol => dateformat"MM/DD/YYYY"))
ginkul
  • 1,026
  • 1
  • 5
  • 17