Would just `np.asarray()` do?