It would be easier if you post also your code. You can use apply function to convert your column to datetime, so it would look something like this:
from datetime import datetime df['timestamp'] = df['timestamp'].apply(lambda x: datetime.strptime(x, '%Y-%m-%d %H:%M:%S'))