pd.to_datetime(df['your_time_column'])
pd.to_datetime(your_series)
import pandas as pd
# Define Panda Series
times = pd.Series(["2021-01-25", "2021/01/08", "2021", "Jan 4th, 2022"])
# Print Series
print("Series:
", times, "
")
# Convert Series to datetime
print("datetime:
", pd.to_datetime(times))