ValueError: setting an array element with a sequence,"numpy.array([[1, 2], [2, [3, 4]]])"