How to plot a data including date and time?

amirrezaheidarysbu at gmail.com amirrezaheidarysbu at gmail.com
Wed Aug 14 03:49:33 EDT 2019


On Tuesday, August 13, 2019 at 11:47:28 PM UTC+2, amirrezah... at gmail.com wrote:
> I have a .csv file, in first column I have date and hour, and in the second column I have energy use data. How can I make a bar chart with Date and time as the x axis and the energy use as the Y axis?
> 
> Thanks

Thank you for your guidance. I am already using matplotlib but I do not know how to import a column of date and time and to use it properly as the x axis. can you tell me the code?


Thanks



More information about the Python-list mailing list