Hello all pandas experts. I am trying to remove time zone info string from a pandas column. I just need the date and time. Here's what I did:
from datetime import datetime
df['created_at'] = pd.to_datetime(df['created_at']).dt.strftime('%Y-%m-%d H%:M%:S%')
Instead, I got this error msg.
ParserError: Unknown string format: 2021-08-01 22:47:19 Malay Peninsula Standard Time
Thanks in advance.