pandas.to_datetime — pandas 1.3.5 documentation
pandas.pydata.org › api › pandaspandas.to_datetime. ¶. Convert argument to datetime. The object to convert to a datetime. If ‘raise’, then invalid parsing will raise an exception. If ‘coerce’, then invalid parsing will be set as NaT. If ‘ignore’, then invalid parsing will return the input. Specify a date parse order if arg is str or its list-likes.