I am trying to convert a date & time string using Pandas 'to_datetime', but the string values is non-zero padded:
3/31/22 23:30
3/31/22 23:45
4/1/22 0:00
4/1/22 0:15
I have the following but get a mismatch error
pd.to_datetime(df.TimeStamp, format="%m/%d/%y %H:%m")
Is there a way to add the zero padding or have 'to_datetime' accept the above formatting?