I am trying to parse a string in this format \"2018 - 07 - 07 04 - AM\" to pandas datetime using strftime format. However, It seems to me the format doesn\'
In my case, I got an error message when trying the proposed solutions:
ValueError: unconverted data remains: PM
This was solved by setting the locale to en_US.
en_US