![]() ![]() |
External Packages (page 14 of 38) |
We can reshape to chnge the structure. When reshaping an array, the product of the dimensions must exactly equal the size because numpy arrays must be symmetrical.

We can flatten array to convert a multi-dimensional array into a single dimensional array. Notice how it flattened the data across each row first and then down.
