Answers for "how to check for non-datetime value in python"

0

how to check for non-datetime value in python

df['Date'] = pd.to_datetime(df['Date'], errors='coerce')
df = df.dropna(subset=['Date'])

df
Posted by: Guest on September-28-2021

Code answers related to "how to check for non-datetime value in python"

Python Answers by Framework

Browse Popular Code Answers by Language