I am trying to replace a wrongly formatted datetime String object with a space in between its 'day' and 'hours' sections (as seen in data below).
The data below are the incorrectly formatted ones which I have used regex to sieve out. I can't crack my head over how to include a space in between. Wondering if I could do it through regex? New to regex, would appreciate if anyone could share their experiences!
df[df['time'].str.contains(r'\.[0-9][0-9][0-9][0-9]\:')]['time']
20192 2010.12.2512:01:45
20193 2010.12.2512:02:52
20196 2010.12.2512:07:43
20197 2010.12.2512:25:33
42811 2013.01.0103:04:10
43527 2013.05.1605:49:49