Week 2 UNQ#2 issue, course 1 in Machine Learning Specialization

I’ve been working on week 2’s practice lab code in the first course for a while now and would like some assistance on the outputs.

The problem is with the outputs. In the cell that’s after UNQ#2, The cell outputs something totally wrong but I get the “All tests passed!” Promt. Is it a problem with my code? Thanks in advance

Hi @Noniq ,

The code looks correct, however, the output is different from the expected output. I suspect the execution environment is not up-to-date.
Here are the steps you can try, from the menu bar at the top of your notebook:
kernel → restart and clear all output
run code cell from start

Please be reminded that posting of code in public is a violation of the code of conduct.

Oh, I severely apologize. I’ll delete the post. Thanks for the solution, it worked!