I have data in excel file with Column A as DateTime String and Column B with data. I want to read the excel file in Python and create dictionary of two elements. The first being a datetime vector and second being data.
The data in excel file looks as:
DateTime Marks
1/1/10 23:00 38.86
2/1/10 12:00 36.19
1/1/10 13:00 35.10
1/1/10 14:00 39.87
5/1/10 15:00 39.48
1/1/10 16:00 38.64
1/1/10 17:00 39.19
I wrote the following snippet to start:
import xlrd
import os.path
wb = xlrd.open_workbook(os.path.join('C:\Users\JD\Documents\RandomNumber','DateTimeData.xlsx'))
But I have no clue what to do next?