How to plot timeseries data in Python

  • Python
  • Thread starter msn009
  • Start date
  • Tags
    python
  • #1
53
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

Answers and Replies

  • #2
pbuk
Science Advisor
Gold Member
2,041
813
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.
 

Related Threads on How to plot timeseries data in Python

Replies
21
Views
1K
Replies
9
Views
16K
  • Last Post
Replies
6
Views
221
  • Last Post
Replies
2
Views
2K
Replies
6
Views
4K
  • Last Post
Replies
1
Views
823
Replies
4
Views
1K
Replies
6
Views
2K
  • Last Post
Replies
3
Views
208
Top