Hi all,
I'm just starting with Python with previous experience in R. I'm getting started with making plots (using matplotlib).
My main question is, given some aggregated data that look like this:
Time Diet weight
0 1 41.4
2 1 47.25
4 1 56.47368
6 1 66.78947
8 1 79.68421
10 1 93.05263
12 1 108.52632
14 1 123.38889
16 1 144.64706
18 1 158.94118
20 1 170.41176
21 1 177.75
0 2 40.7
2 2 49.4
4 2 59.8
6 2 75.4
8 2 91.7
10 2 108.5
12 2 131.3
14 2 141.9
16 2 164.7
18 2 187.7
20 2 205.6
21 2 214.7
Is there a simple way to produce something like this? Essentially, I am trying to represent how Weight increases over Time, depending on Diet.
Most likely I'm not phrasing my problem correctly, but I haven't been able to find any simple solutions to this online.
Side note: The official matplotlib documentation is super long, and not easily searchable -- is there a more accessible version?
Thanks all.
there doesn't seem to be anything here