I have this data frame :
Column A |
---|
23/07/2019 20:33 |
And I would like to separate in two columns a date and a time that are separated by the space to obtain this:
A | B |
---|---|
23/07/2019 | 20:33 |
I tried this:
df = pd.DataFrame(df['Acquisition Date'].str.split(' ',1).tolist(),columns = ['Date','Time'])
but I obtained this:
TypeError: object of type 'float' has no len()
Could you help please ?