1 Program to create an array and display its dimension, shape, length. Deleting and reshaping the array in Numpy Python

1) np.delete(): takes three parameters as follows.

   Syntax:
                   numpy.delete(arr, obj, axis=None)
   Parameters:
                  arr: Input array
                  obj: Row or column number to delete
                  axis: Axis to delete

Previous
Next Post »