I have a CSV file that I would like to render as an image by using Python 3.
The CSV data might be:-
Site,Prog,Length,Start Date,Start Time,End Date,End Time,Flag
400,B,10,05/05/2020,13:00:00,05/05/2020,13:00:10,
400,C,15,05/05/2020,13:00:10,05/05/2020,13:00:25,Yes
400,D,12,05/05/2020,13:00:25,05/05/2020,13:00:37,Yes
400,E,14,05/05/2020,13:00:37,05/05/2020,13:00:51,
400,F,13,05/05/2020,13:00:51,05/05/2020,13:01:04,
400,<A>,14,05/05/2020,13:01:04,05/05/2020,13:01:18,Yes
The end result would be an image file (.jpg, .png, etc) something like:-
I could do this easily enough using Excel... but I need to do this for perhaps some hundreds of sets of data, so I'm hoping I can automate the process some.
Most of what I've been able to find talks about the CSV values as being pixel attributes of an image, rather than making an image of the actual table/values... So, I'm not even sure where to start.
I'd greatly appreciate any pointers on how to approach this problem.
I'm using Anaconda's Python 3.8.5 64-bit under Windows 10 64-bit.