Payment-Date-Prediction
Payment-Date-Prediction copied to clipboard
TypeError: cannot subtract DatetimeArray from ndarray
Hi - I am getting the error, "TypeError: cannot subtract DatetimeArray from ndarray" from the code step below. Is this error severe, and if so, what is the fix?
df['delay']=(df['clear_date']-df['due_in_date']).dt.days