I have a text data like:
16/12/2006;17:24:00;1.000;17.000
with first column being date and second being time and rest just some floats. Right now I am reading the file like:
np.genfromtxt(path,
dtype=(np.datetime64, np.datetime64, np.float16, np.float16),
delimiter=';',
converters = {0: lambda x: datetime.datetime.strptime(x, "%d/%m/%Y"),
1: lambda x: datetime.datetime.strptime(x, "%H:%M:%S")})
This leads to very basic problem where default date for second column is set to Jan 1,1900. Is there some way to combine the date and time from the first two column while reading the file or after reading the file.