ringa_lee
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'])
If the two field types do not match, the operation cannot be performed.
Convert the type before the operation.