30X20 would be 600 elements and you have 3200 (160x20). When you are reshaping, the total number of elements can’t be altered. That is why it works with
with the simplified example would you share what desired output would be and how it is achieved
break
- f1 has 30 sub-lists and with brake it takes first element of each so you get 30x20 array to reshapewith the simplified example would you share what desired output would be and how it is achieved
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs