Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Format mismatch doesn't coerce to NaT #24763
Code Sample, a copy-pastable example if possible
>>> pd.to_datetime("00:01:18", format='H%:M%:S%', errors='coerce', infer_datetime_format=False) "00:01:18"
In this example code I have made a mistake with the format
Given that I have specified