I think the huge number come from elapsed function which cast nan to integer, nan is only for float thus python assign the largest negative number for it probably.
In addition, make sure you watch the lecture and don’t just run the notebook directly, you have to run some of the cells 2 times.
df = train[columns]
df = test[columns]
See Jeremy’s ML course.