when the above code is executedit produces the following result[['mon' ' ' ' '['tue' ' ' ' '['thu' ' ' ' '['fri' ' ' ' '['sat' ' ' ' '['sun' ' ' ' ']delete column we can delete column from matrix using the delete(method we have to specify the index of the column and also the axis valuewhich is for row and for column from numpy import array([['mon', , , , ],['tue', , , , ]['wed', , , , ],['thu', , , , ]['fri', , , , ],['sat', , , , ]['sun', , , , ]] delete( ,s_[ ], print(mwhen the above code is executedit produces the following result[['mon' ' ' '['tue' ' ' '['wed' ' ' '['thu' ' ' '['fri' ' ' '['sat' ' ' '['sun' ' ' ']update row to update the values in the row of matrixwe simply re-assign the values at the index of the row in the below exampleall the values for thursday' data is marked as zero the index for this row is from numpy import array([['mon', , , , ],['tue', , , , ]