Can't process data in C4W2_Assignment

[code removed - moderator]

When testing it I am getting the following:

Could you please tell me where am I going wrong?

In the assignment, window_size refers to the size of x. So, you’ll have to account for y when calling dataset.window. To be specific, when window_size = 1, x takes 1 timestep into account. y refers to the next timestep.