Failed to train : <type 'exceptions.TypeError'> : ufunc subtract cannot use operands with types dtyp

deepakdhiman
Level 2
Failed to train : <type 'exceptions.TypeError'> : ufunc subtract cannot use operands with types dtyp

I am getting below error. How to solve it? I have two date columns. I parsed the dates column into datetime columns. When I train the model in the lab tough, it gives below error.DataTimeTypeError.PNG

Failed to train : <type 'exceptions.TypeError'> : ufunc subtract cannot use operands with types dtype('<M8[ns]') and dtype('float64')

How to solve  

0 Kudos
0 Replies