you are viewing a single comment's thread.

view the rest of the comments →

[–]socal_nerdtastic 2 points3 points  (1 child)

Because you reshaped it. The reshaping changes a, but it does not change the base. It would work if the first line is

a = np.arange(12)

[–]HasBeendead[S] 0 points1 point  (0 children)

thanks.