Payment-Date-Prediction icon indicating copy to clipboard operation
Payment-Date-Prediction copied to clipboard

TypeError: cannot subtract DatetimeArray from ndarray

Open shlid007 opened this issue 2 years ago • 0 comments

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

shlid007 avatar Oct 02 '22 02:10 shlid007