Im attempting to multiply arrays, however in this case they are uneven, and I need to retain the 7 and the 10 in the output.
import numpy as np
m = np.array([[1,2],[3,4]])
c = np.array([[5,6,7],[8,9,10]])
m * c
#Expected output
[5,12,7],
[24,36,10],
I think I need to reshape the arrays? Any assistance would be appreciated. Cheers