+1 vote
in NumPy by
What is 2d indexing? define one ex : num = np.array([1,2,3],[4,5,6],[7,8,9])

1 Answer

0 votes
by

num = np.array([[1,2,3],[4,5,6],[7,8,9]]) #double bracket here for 2d array

print(‘\n my 2d array : ‘,num)

...