in [ ]arr[ out[ ]array([[ ][ ]]here we see that using similar indexing scheme as abovewe get an array having one lesser dimension than the original array the next important concept in accessing arrays is the concept of slicing arrays suppose we want to have collection of elements only instead of all the elements then we can use slicing to access the elements we will demonstrate the concept with one-dimensional array in [ ]arr np arange( arr[ :out[ ]array([ ]in [ ]arr[ : out[ ]array([ ]in [ ]arr[:- out[ ]array([ ]if the number of dimensions in the object supplied is less than the dimension of the array being accessed then the colon (:is assumed for all the dimensions consider the following example in [ ]arr np arange( reshape( , , arr out[ ]array([[ ] ]][ ] ]]]in [ ]arr[ : out[ ]array([[ ] ]]]another way to access an array is to use dots based indexing suppose in three-dimensional array we want to access the value of only one column we can do it in two ways in [ ]arr np arange( reshape( , , arr out[ ]array([[ ] ] ]][ ][ ][ ]]