addition array numpy

42

data = np.array([1, 2])
ones = np.ones(2, dtype=int)
data + ones

Comments

Submit
0 Comments