I have never really gotten along with DataFrames very well (and to be fair, not used it that much). I figured I should ask if there are any straightforward recipes (or methods) for plotting the content of a DataFrame
?
(asking because I saw someone doing the equivalent code in pandas and he seemed to have had something relatively straightforward).
Right now, when I want to plot column c2
, c3
, and c4
against c1
and do:
using DataFrames, CSV, Plots
data = DataFrame(CSV.File("data.csv"))
plot(data.c1, [data.c2, data.c3, data.c4])
It works perfectly fin, but I figured there might be an actually nice way to do this. Trying to plot DataFrame
columns directly seems to yield errors.