Home > Q&A > body text
ringa_lee2017-04-18 10:35:13
If the two field types do not match, the operation cannot be performed. Convert the type before the operation.
df['age'] = pd.to_datetime(df['indate']) - pd.to_datetime(df['dob'])
Home
Course
Q&A
My