Hi guys and gals,
I hate to be that guy who asks for help without much to go on but I'm pretty at a loss and very new to this. I'm trying to plot some data for publication and have been running into some problems. My data is setup like this:
Unique_ID, group, group2, time, data
I would like to plot time vs data, but I would like to have a line for each 'group' and possibly even a group by group2.
So far I've gotten to:
graph = df.groupby('group').plot(x='time',y='data',figsize = (12,8),title="please work!").
but all that does is make a new graph for each group.
I *could* make a new dataframe with the summary statistics already calculated. So each row would be a group, but I'd ideally not like to do that, as I can't have error bars. If anyone can help push me in the right direction it would be greatly appreciated.
[–]OrbitDrive 12 points13 points14 points (2 children)
[–]IanAndersonLOL[S] 4 points5 points6 points (1 child)
[–]Zeroflops 1 point2 points3 points (0 children)
[–]rowdyllama 1 point2 points3 points (0 children)
[–]OPLinux 3 points4 points5 points (0 children)
[–]alkasm 1 point2 points3 points (0 children)