Let's say that I have the following Dataset:
ds = Dataset[
AssociationThread[{"A", "B"}, #] & /@ {{Range[10],
Sin[#] & /@ Range[10]}, {Range[10],
Cos[#] & /@ Range[10]}, {Range[10], Tan[#] & /@ Range[10]}}];
In column B, you have in each row respectively: Sin
, Cos
and Tan
of the values that are in the same row of A.
How can do a ListPlot of those three rows in the most convenient way ?
Dataset[]
shaped like this in your actual problem? $\endgroup$Range[10] // Map[<|"A" -> #, "B" -> Cos[#], "C" -> Sin[#], "D" -> Tan[#]|> &] // Dataset
. Then you can plot pairs like:ds2[All, {"A", "B"} /* Values] // ListPlot
$\endgroup$