I am using 2 one-dimensional arrays in NumPy. I can't concatenate them using numpy.concatenate.I get following error message :
TypeError: only length-1 arrays can be converted to Python scalars
import numpy
x = numpy.array([19, 42, 8])
y = numpy.array([1, 1])
numpy.concatenate(x, y)