Hi,
I'm reading from csv file using csv module and end-up with a list of string (while actual data is time stamp or float)
lst=['2010-02-15 18:22:08.918000 ', '2010-12-11 00:00:00.000000 ', '10740.0', '10740.0', '10750.0', '10745.0', '10741.2457045']
How can I convert list to date time and float using minimum line of fastest code. Fastest because csv size are upto 20 MB and have hundreds of them to read from.
Thanks,
I'm reading from csv file using csv module and end-up with a list of string (while actual data is time stamp or float)
lst=['2010-02-15 18:22:08.918000 ', '2010-12-11 00:00:00.000000 ', '10740.0', '10740.0', '10750.0', '10745.0', '10741.2457045']
How can I convert list to date time and float using minimum line of fastest code. Fastest because csv size are upto 20 MB and have hundreds of them to read from.
Thanks,
Comment