raw_data['Mycol'] = pd.to_datetime(raw_data['Mycol'], format='%d%b%Y:%H:%M:%S.%f')
works, however, this leads to a Python warning about the value trying to be set on the copy slice from the DataFrame. Use .loc[row_indexer,col_indexer] = value
I would suggest that this is due to some indexing of the chains.
Darth BEHFANS Mar 13 '17 at 20:46 on 2017-03-13 20:46
source share