I have a little test code like so:
import numpy as np foo = np.zeros(1, dtype=int) bar = np.zeros((10, 1), dtype=int) foo_copy = np.copy(foo) bar[-1] = foo