For any queries you can reach us at infovistarindia@gmail.com / WhatsApp us: +919158876092

NumPy Array Basic Operations

NumPy Array Basic Operations

x = np.array( [[1,1], [0,1]])  
y = np.array( [[2,0],[3,4]])  

1. The below code will return the item wise product of both the arrays.

x * y

2. The below code will return the matrix multiplication of both the arrays.

x @ y

OR

x.dot(y)