0
Why can't I reshape in numpy array
When I was going on with my work. I fell into this error. That can't reshape an array of 24 in (2,45). Any ideas how this works. https://code.sololearn.com/cf1RfETNMc43/?ref=app Code is not yet complete.
1 Answer
+ 4
the array size is 24. Shaping an array requires basically a length and a width argument. You just have to supply and two numbers that multiply to equal 24.
12,2 4,6 whatever, then print it out to see