How to plot timeseries data in Python

  • Context: Python 
  • Thread starter Thread starter msn009
  • Start date Start date
  • Tags Tags
    Data Plot Python
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
msn009
Messages
53
Reaction score
6
I have a dataframe that looks as attached. What I aiming to do is to plot the lines for each type where if it is for type A, I want to be able to have two lines in the graph that shows the trend for type A. I was not able to find any examples online especially with the format of the data in this way. The feat column type is in series form. any ideas will be much appreciated. thanks.
 

Attachments

Physics news on Phys.org
For those who have not been following the many similar posts, note that the OP is using the pandas library and his problem seems to revolve around getting the data into the format pandas requires.