Hello, I have a CSV file with a variable that is intervals of time written as HH:MM:SS, how can I import this data in a type that I can manipulate and plot?
Thank you!
Hello, I have a CSV file with a variable that is intervals of time written as HH:MM:SS, how can I import this data in a type that I can manipulate and plot?
Thank you!
That format can be loaded automatically using Dates.Time
using Dates
julia> Time("11:36:42")
11:36:42
Which will just work as your x axis values in Plots.jl. I’m not exactly sure about CSV import, you may need to specify the format with CSV.File(file; dateformat="H:M:S")
. Someone else will know more about that, or read the docs for CSV.jl: