I am trying to extract a Date and a Time from a Timestamp:

```
DateTime   
31/12/2015 22:45

```

to be:

```
   Date   |  Time   |
31/12/2015|  22:45  |

```

however when I use:

```
df['Date'] = pd.to_datetime(df['DateTime']).dt.date

```

I Get :

```
2015-12-31

```

Similarly with Time i get:

```
df['Time'] = pd.to_datetime(df['DateTime']).dt.time

```

gives 

```
23:45:00

```

but if I try to format it I get an error:

```
df['Date'] = pd.to_datetime(f['DateTime'], format='%d/%m/%Y').dt.date

ValueError: unconverted data remains:  00:00

```