Peter Otten wrote:
[Practising the bad habit of public soliloquy]
> def parse_datetime(dt):
> return datetime.datetime.strptime(
> dt.replace(".", ":"), "%Y-%m-%d %H:%M:%S"
> )
>
>
> def date_parser(dates, times):
> return numpy.array([
> parse_datetime(date + " " +
Peter Otten wrote:
> shibashib...@gmail.com wrote:
>
>> Hello
>>>
>>> I'm very new in python. I have a file in the format:
>>>
>>> 2018-05-31 16:00:0028.90 81.77 4.3
>>> 2018-05-31 20:32:0028.17 84.89 4.1
>>> 2018-06-20 04:09:0027.36 88.01 4.8
>>> 2018-06-