join two numpy arrays

Solutions on MaxInterview for join two numpy arrays by the best coders in the world

showing results for - "join two numpy arrays"
Jorge
09 Jun 2018
1>>> a = np.array([[1, 2], [3, 4]])
2>>> b = np.array([[5, 6]])
3>>> np.concatenate((a, b), axis=0)
4array([[1, 2],
5       [3, 4],
6       [5, 6]])
7>>> np.concatenate((a, b.T), axis=1)
8array([[1, 2, 5],
9       [3, 4, 6]])
10
Jonathan
09 Jan 2019
1import numpy as np
2
3a = np.array([[0, 1, 3], [5, 7, 9]])
4b = np.array([[0, 2, 4], [6, 8, 10]])
5c = np.concatenate((a, b), axis=0)
6print(c)
7
8Output : 
9[[ 0  1  3]
10 [ 5  7  9]
11 [ 0  2  4]
12 [ 6  8 10]]
Mirko
21 Sep 2016
1numpy.concatenate([arr1, arr2]) # Joining arr1 and arr2
Giselle
07 Jan 2017
1#concatenating through column(axis = 1)
2numpy.concatenate((N,M),1)
queries leading to this page
combine numpy arraysconcatenate 2d numpy arrayshow to concatenate matrices in pythoncombine two numpy arraynp array append two arryajoining two numpy arraypython numpy merge 2 arrays valuesmerge two rows of dataframe contains nummpy arrayappend 2 1d arrays pythonhow to join numpy arraysjoin multiple arrays pythonmerge vector pythonconcat list of np arraysadd two same numpy arrayscombine numpy list to arrayhow to merge an array in pythonconcatenate numpy array and seriespython concatenate 2d arraysconcat lists in numpynumpy concatenateconcatenate two array pythonnp concatenate multiple arrayshow to combine arrays in numpycombine two numpy ndarrayjoin array python in column concat numpyhow to concate two numpy arrayshow to concatenate 3d array in python by sideconcat numpy array pythonconcatinate two arrays numpyhow to join two numpy arraysnumpy append three arraysnp concatenate lists numpy matrix concatenateconcatenate numpyinner join 2 numpy arraysnumpy merge 2 arrayspython one array from twocombine arrays numpyhow to concat two numpy arraysnumpy join two arraysarray merge numpyjoin array in array pythonhow to combine two numpy arrays in pythonnumpy merge 2 array with 2 column keynumpy concathow to concatinate two arrays in pythonjoing two arrayts in numpypandas concat two numpy arraysconcatenate python numpycombine to array in numpy 5cjoin two np arraysnumpy concatenate matrixhow to make combine 4 rows array into 1numpy combine value and arraynp concatenate 280 29horizantal merge 2 array numpynumpy concat two matrixconcatenate matrix pythonpython concatenate axis 0concat np arraysjoin 2 arrays horizonatlly numpyhow to combine numpy arraysappend two numpy array pythonaddition of two lists using numpynp add multiple numpy arraysadd two arrays python without numpypython numpy combine matricesjoinign two numpy arrayconcat two numpy arrayscombine two matrix pythonnumpy combine arraaysmerge array in numpynumpy concatenate number to arrayconcat 2 ndarrayconcatenate two numpy pythonnumpy concatenate axis 2how to concatenate arrays in numpypython array concatenatehow to put two numpy array togehterpython np concentratenumpy ndarray mergehow to append 2 vectors in numpy arrayhow to concat numpy arraysnumpy fusion arrayhow to merge a list of numpy arraysnp concatenate axis 0how to add two matrix numpynumpy merge two one dimensional array into two dimensionalhow to merge 3 arrays with numpynumpy array add 2 arrayscombine 2 arrays pythonjoin two dimensional array pythoncombining np arrayshow to concatenate array of numpyhow to merge two numpy arrays in pythonadd two numpy arrays elemadd two numpy arraysmerge 2 array npnumpy combine two arrays into 2d arrayconcatenate list of numpynp concatenate in numpynumpy concatenate two array floatnumpy join 2d arrayshow to combine to np arrayshow to concatenate to numpy arrayscombine two array in pythonjoin 2 np arrayshow to concat multiple numpy arrays in pythonjoin two matrices numpynp conatenatemerge arrays python numpy npcombine 2 1d arrays numpyjoin two np array pythonhow to add two numpy arrays in pythonconcatenate two numpy arrays horizontallyjoin arrays python numpynumpy array combine two arraysnumpy concatenate several arraysconcatenate arrays along columnsnp ndarray mergecombine two arrays pythonnumpy join two matrix join two matrix dimension in pythonconcat two arrays numpynp array add two arrayshow to concatenate np arraysnumpy glue arrayconcatenate 1d numpy arrayshow to merge an array pythonhow to combine 2d array in pythonhow to add two numpy arrayshow to append two matrices in numpyadd two matrix in numpyhow to concate 2 numpy arrayconcat arrays pythonconcatenate 2 numpy arrayconcatenate 2 d numpy arraysmerge arrays python numphow to combine vectors into array pythoncombine array pythonhow to combine 2 array in numpyhow to merge two 2d arrays in pythonhow to join two arrays in numpynp concatenate axishow to concatenate two ndarrays in pythonconcat a list of numpy arraysconcat and sort two arrays numpyhow to merge 2 matrix in pythonpython join two np arrayscombine two numpy arrays pythonnumpy array join stringhow to merge 2 arrays in pythonconcat ndarraynumpy concat two matricesmerge np array pythonnumpy combine columnsappend multiuple arrays pythonjoin two arrays together python numpconcat list python with numpy arrayconcat two numpy array pythonnumpy add 28 29 for adding two listsappend 2 numpy arraysmerging 2 numpy arrays togetherpython concat matrix colums combine two matrixes numpyarray combine numpyhow to concatenate two arrays in numpyhow to concatenate vector in pythonconcatenate in python with two ndarraypython array combinenumpy merge two arrayspython 2d array concatadding one numpy array to anotheradd two arrays of different size together python nppython concatener arraymerge vectors to matrix python numpynp concat 2 arrays for a 2d arraynumpy add multiple elements to arraypython numpy merge arraysappend to numpy arraynp concatenate multiple arrayspython concatenate matrixmerge array pythonnumpy sum two arrayshow to concatenate two matrices in pythonconcatenate two numpy arrays pythonnumpy combine 2 1d arraysjoin np arrayscombine two numpy arrays in a single arraynumpy merge two matrixconcat in numpy arraynumpy 2d array to two arraysnp concatenate 1d arrayappend two numpy arrays in pythonconcatenate 2 array numpybest way to add two arrays in python numpyput two numpy array in a arraysnumpy merge 2 array with 1 column keyconcatenate two numpy arraynp concatenate arraysjoin two numpy arraysnumpy ndarray concatnumpy concatenate 2 dimensional with one dimensionalpython concatenate two arraysnupy concatnumpy append multiple arraysjoin arrayvs concat pythonpython concatenate numpy arraysmerge two np arrays pythonnumpy join a 2d matrix an arraycombine numpy arrays into matrixmerge that concatnates arraysnumpy merge multiple array to 2d arrayadd elements of two arrays python numpyconcatenate numpy arrays side by sidehow to add two numpy matrixnumpy mixing 2 arraysnumpy array from join on a columnpython combine a list and numpy matrixnp array concatnnp concatenatenumpy concat 1d arraysnumpy concat multiple 1d arrayshow to concatenate numpy array in pythonmerge matrix numpyjoin 2d numpy array of strings togetherconcating two numpy arrayshow to merge ndarrayscombine 2 np array to a single arraymergeing two numpy arraysnumpy merge two arrays 1dnumpy plus 2 listsjoin two arrays numpyconcat c3 a9nation numpyconcat numpy arrays pythonhow to join two numpy arrays in pythonpython how to concatenate 2 arrayspython numpy mergejoin 2 1 dimensional arrays numpynumpy adding two arrayshow to concatenate two np arrayslist of numpy arrays concatconcate numpy arrayappend two numpy arraysnumpy array appendhow to add 2 numpy arraysconcat two ndarray pythonmerge numpy arraysadd 2 np arrayspython merge matricesconcat array numpymerge two one dimensional array pythonpython join arrays in row concat rows to one row matrix numpyadd 2 lists numpycombining two np arraysconcatenate arrays pythonjoin in python numpynumpy concatenate two ndarraypython concat matrix columnshow to merge an array into n dimentional array numpyhow to combine 2 numpy listsconcatenating two arrays numpynumpy to add two lists together in pythonhow to concat np 2d array in pdhow to concatenate 2 numpy arrays into 2dnumpy array concatenationadd two list using numpyhow to concatnate numpy arraysappend two np arraysnumpy array combine arrayshow to merge two numpy arrays into a 2d arrayput two numpy arrays togethernumpy norm two arraysnumpy matrix add more than two arraysnp merge arrayspython concat two numpy arraysconcatena arrayhow to add two np array pynumpy add arrays togethermerge np arrayappend two np arrays pythonmerge np arraysconcatenate 3 numpy arraysnumpy combine two 1d arraysconcat 2 arrays numpynumpy add two arraysnumpy combine two 1d arrays into 2dhow to concat array in numpyconcatenate vectors pythonnumpy add another array in a multidimensional arraynumpy conact arrays by first dimensionhow to append 2 numpyhow to join many numpy arrays i pythonconcatenate list along axis pythonconcatenate to numpy arrayconcat array pythonconcatenate numpy arrays as columnsnp concatnumpy concat two arraysjoin array in 2 dimensions to 1 pythonhow to combine two arrays in numpyjoin numpy arrayshow to join 2 numpy arrayshow to combine vectors to matrix pythonmerge arrays pythonnp concatenate axisnumpy concatenate two arraysconcatenate 2 np arraynp merge arrayshow to concat 2 numpy arraysconcatenate matrix numpyhow to concatenate columsn in numpyhow to join six arrays in pythonhow to append numpy arrays to otherappend two arrays into one numpyconcatenate 2 np arraysconcatenate two np arraynp catconcat numpy arraynumpy merge arraynumpy concatenate values to arraymake two arrays out of one numpy pythonnumpy array mergenumpy how to add two arraysnumpy how to combined 2 arrays in a gridhow to combine 2 arrays in pythonhow to concatenate two np arrays into 1join 1d arrays python concatenate python numpyappend numpy arrays in placeconcatenate arrays along columns poythoncombine numpy arrays to matrixadd one numpy array to anothernumpy concatenate two 1d arraysprogram to multiply 2 matrices by 2d arraycombine two arrays into a 2d array pythonnumpy concatenate 2 matrixconcatenate pythonmerge to np arraysnumpy merging functionnumpy concatenate 4 arraysconcat multi array numpynumpy array concatmerge np arrays pythonhow to turn add two np array side by sideadd two np arrayscreate a two by two matrix numpyconcatenate array in python add two arrays numpyconcatination matrix pythonadd two list using numpy arraynumpy concat arraysnp merge two arraysadding two numpy arrays with different shapeadd 2 numpy arraysnp join arraysmerge numpynp conactpython concat array of arraysconcat two numpyconcat multiple 2d array in pythonhow to concatenate two numpy arrays in pythonconcatenate 2d arrays pythonpython conatinate array columnsnumpy combinenumpy combine two matrixconcatenate array numpyhow to append two numpy arrays in pythoncombine 2d arrays pythonhow to concatenate numpy arrays in pythonappend two np arrayappend numpy array to 2 numpy arrayadd one array to another numpy stitch to numpy arrays togethernumpy concatenate matrix and vectorarray from two arrays pythonpyhton concat arraysmatrix p c3 adthon concentehow to join array in numpypython combine 2 arrays into oneconcatenate along axis numpypython numpy concatenate arrayjoin two ndarraynumpy append two ndarrayadd two numpy arrays togetherconcatenate in python numpypython combine arraysconnectocating two numpy arrays pythoncombine 2 arrays in npnp concatenate 2 arraysnp concaternatehow to join 2d arrays pythonsymmpy concatenate vector to matrixhow to merge numpy ahow to concatenate multiple np arraysnumpy concatenate to listnumpy combine two arayscat array command in pythonconvcatenate two array coordinates python one linenumpy add two matrixjoin numpy array python 3numpy join arraysmerge and array pythonconcatenate multiple numpy arraysimage merge with numpyconcatenate two numpy array pythonhow to append to an array numpyhow to merge 3 2d arrays pythonhow to concatenate two numpy arraysnumpy join arrays by columnnumpy concat to colhow to append 2 numpy arraysnumpy merge 3 arrayscombine 3 numpy arraymerging numpy arrayshow to combine two np arrays pythonnp array concatenat linesarray concatenation in pythonnumpy concatenate image datanp concatenate axis 3d0numpy join multidimensional arraynumpy concatenate two arraynp array concatenateconcatenate multiple arrays pythonadd 2 arays to one aray numpymerge several numpy arraysmerge 2 numpy arraysconcat two np arraysconcat two numpus arraysjoining numpy arraysnumpy merge two large arraysnp concatenate numpy arraysnumpy append 2 listsnp add two arrayshow to concatinate two numpy arraysnp concatenate 28a 2c axis 3d 1 29concatenate list of np arraysconactontate two np arraynumpy join two 1d arrays into 2d arrrayhow to sum 2 numpy arrayscombinbe numpy arrayshow to concatenate 2 arrays in pythonmerge two arrays pythonhow to concatenate array in pythonmerge ndarraycombine two numpy arraysnumpy concatinateadd together all values in a numpy array in pythonnumpy merge 2 matricesconcat array in pythonnumpy combine two matricesnumpy append two matricesconcat 2 np arraynp add multiple numpy arraysnumpy marge arraynp concatenate axis 2concatenate numpy array pythonappend 2 matrices pythonnumpy cat arraymerge np arraysconcatenating two arrays in numppyhow to append two np array in pythonpython concatenate numpy ndarrayhow to merge two numpy arrayshow to add 2 numpy arrays to each othermerge numpy arrays column wisemerge arrays python numpynumpy merge to arraysconcat arrays with numpyjoin two numpy ndarraynp array concatenate arrayshow to add two numpy arrayspython append many numpy arraynumpy join two vectorsdnumpy concatenate two matricesconcatinate numpy arraysadding two numpy arraysadd two numpy arrays element wisehow to merge two arrayscombine two arrays numpyhow to fuckin join two array in numpynumpy concatenate arrayconcat multiple arrays pythonhow to deconcatonate arrays in pythonjoining two numpy arrays in pythonnumpy combine arrays 2dnumpy merge two one dimensional arraysmerge the three arrays in numpypython create array concatenatenumpy concatenate arrayscombine two arrays to make one numpy arraynp two arrays as matrixadd two numpy ndarray concatena in numpynumpy add two arrays after each othersnp 2b concat 2 arrayshow to add two numpy array in one arraynp combine 1d arraysconcatenate in numpyconcatenate arays numpyadd two 2d numpy arraycombine two 2d numpy arrays with functioncombine 3 by 3 arrays in python to 4x4 arrayhow to join 2d array with 1d array in numpynumpy concatenate 2d arraysnumpy attach two arrayshow to combine elements of 2 numpy array into 1 numpy arraynumpy combine two ndarraysjoin arrays horizontally numpyjoin two numpt 2d arraypython concat arraynp array concatenate columnmerge different 2 d array in numpyconcatenate 2 arrays pythonnp concatenate pythonconcat 2 numpy arraypython how to join 2 2d arraysjoin two ndarray pythonpython numpy array concatenatenumpy concatenate 4d arraysnumpy concataenatnp concathow to concatenate two matrix in python by columnndarray python of arrays mergepython combine two arrays into onenumpy append list to side of arrayhow to append multiple numpy arrayconcatenate numpy ndarray pythonnumpy sum 2 arraysnp concatenate sizenumpy append two vectorsadd parts of two numpy arrays togethercombine two 2d numpy arraysconcatenate on axis 1concat more than two 2d arrays pythonnumpy ndarray concatenatehow to concatenate ndarray into matrixhow to make two arrays into one pythonconcatenate python arrayhow to concatenate multiple arrays in pythoncombine values of array python 27out 27 must be an array np concatenatehow to concatenate arrays in pythonnumpy align two arraysnumpy add two arrays of different lengthjoin two arrays two form a single array in numpycombine two arrays npmerge np arrays withhow to merge two np araaaysconcatenate columns python numpycombine multiple numpy arrays into onenp append multiple arraysconcatenate np arrayadd numpy arrays togetherpython join 2 numpy arrayshow to put together many numpy nd arraysconcatenate np arrays to matrixhow to concatenate numpy arraysnumpy merge two columnsmpy arrayscan concat two numpy arraysmerge two np arraysnumpy merge arrays into onenumpy concatenate 1d arraysconcatenate array pythoconcatenate two 1d arrays numpyappend np array to 2 d np array pythonhow to append two np arrayshow to cancat two array use numpylist of arrays concatenate pythonconcatenate list of np arrayhow to concatenate two numpy ndarraycombine 1d arrays together in numpyhow to combine 2 vectors in numpyconcatenate numpy nd arraynp combine arraysnumpy concatenate array to matrixcombining 2 numpy arrayspython concatenate arraysnumpy concat arraynp concate similar functionjoin two arrays in python not numpyappending 2 different size arrays numpyconcatenate axisvertical concatenation numpynumpy combine multiple arrayspython merge np arrayspython combine arraynp concatenate examplehow to concatenate numpy array along axis 1how to join many numpy arrays in pythonnumpy join multiple arraysnumpu joining two arraynumpy combine 2 arrays to matrixmerging 2 np array in pythonnumpy merge arraysnumpy concatenate multiple arraysmerge two same numpy arraysadd two arrays in numpyjoin 2d array pythonconcatenate np array columnsconcat arrays numpyhow to concatenate numpy listnumpy concatenate 2d array with 1d arrayconcatenate two 2d numpy arraysmerge array numpyconcat rows in array pythonpython muti np concatenatejoin numpy array python 3 dynamicallyconcatinate arrayconcat a column nphow to concat two numpy arrays in pythonconcatenate arrays python numpynumpy array concatenatecombining arrays numpyhow to combine two numpy arrayshoe to concatinate array in pythonhow to concat np arrayspython fastest way to add two numpy arraysadd two numpy arrays and make one arrayconcatenate two np arrays pythoncombine numpy arraypython conect two arrayaconcatenating numpy arrayscombine 2 numpy arraysnp cathow to concatenate 2 numpy arraysconcatenate two sting from different array axis 3d 1 in nupyconcatenate numpy arraycombine two arrays to gether in pythonmerge 2 arrays pythonmerge arrays nphow to sum two numpy arraysjoin two numpy 2d arrayconcat multiple np arraypython array from two arrayscombine ndarray pythonhow to merge 2 2d arrays pythonnumpy concat 2d arrays to 3dnumpy two arrays to make one arraypython join two dimensional arraypython concatenate two lists to numpy 1d arraycombine two arrays in a 222d 22 array numpy pythonfuse matrix pythonconcat two matrix numpycombine two arrays in a 2d array numpy pythonconcatenate array using pythonconcatenate 2 numpy arraysnumpy concatenate columns valueconcatenate arrayconcatenate arrays in pythonconcatenate two np arraysnp 2b concat two arraynumpy combine 2 arraysmanually concat two arrays pythonhow to combine two arrays numpyhow to concatenate list of numpyhow to concatenate multiple numpy arraysconcatenate 2 numpy arrays pythonconcatenate npnp concatonatejoin two memmap numpynumpy how to concatenate two arraysconcatenate numpy arrayssum two numpy arraysconcatenate two arrays numpyhow to combine 2 numpy arrayscontcatenate two arrays numpyhow to append two nparrayconcatenate two numpy arrayspython numpy concatenate arraysconcatenate np arrays pythonconcatenation vector pythonnumpy append two arrayspython numpy combine two arraysnp append multiple arrays into onehow to concatenate 2 matrices in numpyconcatenate arrays numpyconcatenate matrix in numpynumpy join 2 arrayspython array concatenate arrayhow to concatenate 2 np arraysjoins two numpy arrays in oneadd two matrix numpyhow to join matr pythonjoin 2 numpy arraysnumpy array add two arraysnumpy concatenate c2 b6numpy combine two arraysmerge 2 arrays numpycomo concatenar array numpypython numpy array combinecat two numpy matrixnp concatenate axis 3d1concatenate 2 arrays numpynumpy concatenate two vectorsmerge seversl numpy arraysconcat two numpy ndarrayndarray unify elementsnumpy concatenumpy array join two arrayspython bind arraysconcat two array pythonconcat np arrayadd two array 27s in numpyconcatenate arrays into one array pythonadding two numpy arrays valuespython merge two arraysmerge two np arrays with two np arraysmerge two matrix in numpynumpy concotinateconcatenate matrice pythoncombine ndarrayspython how to merge 2 2d arrayspython numpy array add two dimensional arrayjoin 3 arrays to on pythonpython combine 2 numpy arraysconcatenate floating point array in numpynumpy array joinhow to merge two arrays in numpycombine multiple numpy arrayshow to combine vectors in pythons into a single matrixhow to merge numpy arraysjoin two numpy ndarrayhow to merge 2 numpy arraysconcat two np array pythonhow to concatenate arrays in python numpycan you merge numpy arrayshow to add two array 27s in numpyconcatenate numpy arrays verticallypython numpy np concatenateconcatenate arrayshow to combine two numpy ndarrayspython concat two 2d arraysconcatenating two numpy arrayshow to add 2 nd arrayas horizontally in pythonnumpy matrix mergenumpy merge number in an arraynumpy concatenate two one dimensional arrayshow to add 2 numpy numbersconcatenate a vector pythonconcatenate according to columns npcombine 1d numpy arrays to matrixadd two one dimensional array numpypython numpy concatenatecombine multiple np arrays into onehpow to comncatenate 3 ararys pythonndarray concatenate arraysnp concatenate listnumpy concatenate 2d arraynp concatenate list of arraysconcatenate two arrays pythonhow to concatenate identical numpy arraymerging two numpy arraysmerge arrays together pythoncombine 3 np arraysnumpy concatenate two listscombine matrices numpyconcat numpy arraysnp concat numpyconcatenating three arrays columnwise pythonadding two np arraysadd two arrays numpyjoin two array numpyconcatenate along rows umpynumpy mergehow to append an array to a matrix numpyhow to concate arrays in numpypython merge arrays into onehow to concatenate two nyumpu arraynp concatenate 28concatenate two np arraymerging two arrays numpypython combine two arrays into 2d arrayconcat in python numpyconcatenate 2 np arrayadd two arrays together python numpyhow to apply vectorize between 2 2d arraysconcat n array in pyronhow to concatenate numpy arrayhow to add two matrix in numpycombine two np arraysnp concatenate 28 29 axis 3d0python combine numpy arrayspython combine np ndarrayhow to concatenate vectors in pythonmerge numpy ndarraypython numpy merge 1dhow to concatenate multiple numpy arraynp concatenate 28 28a 2cb 29 2c axis 3d 0 29merging 2 numpy arrayshow do i merge two np arraysadding two arrays using numpywhat is a correct method to join two or more arrays in numpy 3fnp array mergenp join two arraysmatrix combine numpyconcatenat arrays pythonnumpy concatenate methodjoin tow numpy arraymerge two numpy arraysnumpy concatenatemerge two np arraysnp append three arraysnp mergenp add multiple arraysadding two numpy array valueshow to append two numpy arraysconcat 2 numpy arraysnumpy to add two lists together in to matrix pythoncombine arrays pythonnp append multiple arraysconcatenate two matrices pythonnumpy join a 2d matrix and an arrayconcatenate array pythonconcatenate numpy arrays pythonmerge two arrays numpynp array concatnumpy 2 array to matrixhow to add 2 arrays together in numpyarray concat pythonconcatinating pyhton numpy axishow to merge np arraysappend a single value to numpy arrayhow to concatenate two arrays in pythonconcatenate numpy ndarrayhow to merge two ndarraymerge all arrays python numpymerge numpy array pythonarray merge in numpycombine to ndarrayshow to append two multidimensional numpy arraysnumpy combine 2 2d arraysadding two matrix numpyconcatenate the content of a np arrayconcatenate array npcombining vectors to form array in pythonmerge array of array elements pythonhow to merge to np arraysconcat two numpy arrayhow to merge a numpy matrix into 1numpy concat 2 arraysnumpy array concatenate two arraysnumpy combine arraysnp append two arraysappend multiple numpy arraysmerge two one dimensional array to one dimensional third array numpyhow to combine two ndarrayadd two array in python not use numpynumpy merging two arrayspython concatenate two lists to numpy 2d arraynp concatenate dimensionsum two np arrays pythonpython concatenate arraynumpy concatenate 2 arraysconcatanate np arraysnumpy concatenating arrayspython numpy join two arraysnp concatenate two arraysnumpy concatenate vector to matrixcombine arrays to make one array pythonmerge two numpy arrays as columnsjoin multiple np arraysarray numpy concatenatejoin2 np arrayshow to join 2 numpy araraysnumpy add 2 listsconcatonate arraysjoin two numpy arrays