Error: could not broadcast input array from shape (10000,28,28) into shape (10000,)

I am getting this error in Introduction to tensorflow week 3.

The problem here is probably with the np.array(_), shouldnt this supossed to be the labels Y?

It is showing this error now.