I want to parse a list or pandas column ex: 21/01/2005, 22/01/2005 and covert them to 21 January 2005. But I get this error: strptime() argument 1 must be str, not Series
import datetime
import pandas as pd
data_dict = {
'date': ['21/01/2022', '22/01/2022']
}
df = pd.DataFrame(data_dict)
datetime.datetime.strptime(df['date'], '%d/%m/%Y').strftime('%d %B %Y')