numpy substarct 2 2d arrays code example Example: subtract python import numpy as np np.subtract(1.0, 4.0)