[ ]]in [ ]np concatenate([arr arr ]axis= out[ ]array([ ] ]]figure - reshaping in (row majoror fortran (column majororder there are some convenience functionslike vstack and hstackfor common kinds of concatenation the above operations could have been expressed asin [ ]np vstack((arr arr )out[ ]array([ ] ] ][ ]]in [ ]np hstack((arr arr )out[ ]array([ ] ]]spliton the other handslices apart an array into multiple arrays along an axisin [ ]from numpy random import randn in [ ]arr randn( in [ ]arr out[ ]array([ [- ] ] ] ] ]]in [ ]firstsecondthird np split(arr[ ]in [ ]first advanced numpy www it-ebooks info