Home > Software engineering >  How to draw time series from CSV file in Python
How to draw time series from CSV file in Python

Time:12-13

my CSV file is below:

Entity Code Year Total tax revenue (% of GDP) (ICTD (2021))
Afghanistan AFG 2003 2.512631
Afghanistan AFG 2004 4.07617
Afghanistan AFG 2005 4.668273
Afghanistan AFG 2006 6.061553
Afghanistan AFG 2007 6.174382
Afghanistan AFG 2008 8.673146
Afghanistan AFG 2009 9.559737

Above is my table, could you please tell me how to draw the time series from this CSV file? or give me some hints on this. Thank you very much!

CodePudding user response:

In order to draw time series from CSV file, enter image description here

For more information and examples you can look here, the visualization section of 'pandas'.

  • Related