The shape attribute for numpy arrays returns the dimensions of the array. If Arr has m rows and n columns, then Arr. shape is (m,n)