Answers for "how to check dimension of array in python"

1

how to check dimension of array in python

import numpy as np
arr1 = np.array([[10, 20], [11, 21], [12, 22]])
dimensions = arr1.shape
Posted by: Guest on April-18-2022

Code answers related to "how to check dimension of array in python"

Python Answers by Framework

Browse Popular Code Answers by Language