I know this will show me as dumb as a warthog. Not as an ox as our @oxinabox is very smart.
I am experimenting with Pluto.jl - which is great!
I have a CSV file with a header row. I Can select one column using the string in the header. So far so good. But I get a series of CSV.Row types when I do this.
Is there a nice way to read a column from a CSV and get it into an array which I can plot?
With CSV.File
you can pipe it into any Tables.jl sink I think, eg.
df = CSV.File(myfile) |> DataFrame
then you can just pick the column that you want.
Alternatively, I believe CSV.File
has a select
keyword that might help you get just one column.
1 Like