Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Automatically plot each variable on the same graph for each "ID"
Hello, I am currently doing an Internship and have been tasked with writing a code that will automatically plot values in a dataframe based on their ID number. I cant add a picture but its like this:
Index-----------ID--------Timestamp---------Name----------Value 0-----------1553679924-----Date/Time--------T_Amb---------4.5 1-----------1553679924-------""--------------""-----------4.6 2---------------""-----------""--------------""-----------4.2 3---------------""-----------""----------- T_HTES---------340 4---------------""-----------""--------------""-----------341 etc. 1555--------1553683993-------""--------------""------------"" 1556--------1553683993-------""--------------""------------""
there are multiple variable under Name eg. T_Amb, T_HTES, Pel_KWKK, CHP_Switch etc. each ID number has every variable (a reading for each variable was taken every 15 minutes).
The aim is to plot each variable under "Name" on the same graph based on the ID number with "Value" on the y-axis and "Timestamp" on the x-axis.
I hope i have explained it well enough, thanks in advance for any help. Smile
I have looked at what this looks like when posted please imagine the dashes as just seperating the columns i dont know how else to show it lol - Fixed(Yoriz)

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Dynamically placing axes in subplots via dataframe plot naftis 1 172 Jul-29-2019, 12:10 AM
Last Post: scidam
  Plot/Image analysis %of colored area(grid) TiBotLCPP 0 141 Jul-09-2019, 02:33 PM
Last Post: TiBotLCPP
  How matplotlib automatically set x-axis and y-axis limits for bar graph ? ift38375 3 209 Jul-04-2019, 08:23 AM
Last Post: scidam
  display graph in columns and rows william888 1 217 Jul-02-2019, 10:19 AM
Last Post: dataman
  span color on graph sunset/dawn mcgrim 0 430 Jun-13-2019, 09:22 AM
Last Post: mcgrim
  Draw graph (Python) Eberle 1 1,176 May-28-2019, 05:29 AM
Last Post: heiner55
  Help rendering a pylab plot cyberman 1 226 May-15-2019, 05:27 AM
Last Post: scidam
  MatPlotLib 2d plot of current density? ruben 0 168 May-13-2019, 06:47 AM
Last Post: ruben
  Plot Line chart based on the input parthi1705 3 303 May-09-2019, 05:01 AM
Last Post: scidam
  How to graph a normal distribution? royer14 0 228 Apr-22-2019, 09:16 PM
Last Post: royer14

Forum Jump:

Users browsing this thread: 1 Guest(s)