Week 2 Assignment, Exercise 2, incorrect hint?

Hi, I just was wondering if this hint was intentionally left without the comma

firefox_kN8tzsGeaS

Did it mean to say? (Because in the lines above, it shows it with a comma)

firefox_1x9V94OKkO

1 Like

Hi, @Yousif.

You’re right. Without the comma, it’s no longer slicing the column dimension, but rather slicing rows using the start:stop:step notation. As you guessed, it should read: mini_batch_X = shuffled_X[:, i:j].

Thank you for taking the time to report this!