in [ ]data[names !'joe' in [ ]data out[ ]array([ ] ] ] ] ] ] ]]fancy indexing fancy indexing is term adopted by numpy to describe indexing using integer arrays suppose we had arrayin [ ]arr np empty(( )in [ ]for in range( )arr[ii in [ ]arr out[ ]array([ ] ] ] ] ] ] ] ]]to select out subset of the rows in particular orderyou can simply pass list or ndarray of integers specifying the desired orderin [ ]arr[[ ]out[ ]array([ ] ] ] ]]hopefully this code did what you expectedusing negative indices select rows from the endin [ ]arr[[- - - ]out[ ]array([ ] ] ]] numpy basicsarrays and vectorized computation www it-ebooks info