I have an array:
x = np.array([[1, 2, 3], [4, 5, 6]])
and I want to create another array of shape=(1, 1) and dtype=np.ob
shape=(1, 1)
dtype=np.ob
a = np.empty(shape=(2, 2), dtype=np.object) a.fill(x)