Failed to train : : ufunc subtract cannot use operands with types dtyp

Options
deepakdhiman
deepakdhiman Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Registered Posts: 10 ✭✭✭✭
edited July 16 in General Discussion

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

Setup Info
    Tags
      Help me…