I am trying to extract date and time from one column of data frame. The name of the data frame is df_BA_new and the corresponding column is 1. Below you can see the column 1
0 200604281300
1 200604281330
2 200604281335
3 200604281350
4 200604281355
392395 202209161320
392396 202209161325
392397 202209161330
392398 202209161335
392399 202209161340
Name: 1, Length: 392400, dtype: object
I try to convert data on this column to date time using the code shown below
df_BA_new[1] = pd.to_datetime(df_BA_new[1],format="%Y%m%d%H%M")
However, I take the following error
ValueError: unconverted data remains: 30
Thank you in advance