How to check shape of NumPy array

How to check shape of NumPy array

You can check the shape of the NumPy array with the following code. If you want to learn Python, I highly recommend reading This Book. Example 1 Output: (2, 3) Example 2 Output: (1, 2) Example 3 Output: (3,) Example 4 Output: (3, 4) Example 5 Output: (1, 3, 4) People are also reading: Best Python Books …

How to check shape of NumPy array Read More »