JuliaDB parsing unix epoch field

toms
Sun, 26 Jan 2020 10:07:35 +0000
General Usage

Hello Julia community,

I’m trying to loadndsparse a csv file with a unix epoch field and turn it into a Julia DateTime .

What would be the correct way to do this in Julia?
I’ve tried using the colparsers option but am running into difficulties how to implement the parser correctly. Basically what I want is simply map the float value of a csv column to a
x -> Date.unix2datetime(x)
but it appears to be not as simple in Julia.

Unfortunately the docs are also very sparse.

I’d appreciate if anybody could point me in the right direction on how to implement this correctly.

Cheers,
Tom

1 post - 1 participant