Learn practical skills, build real-world projects, and advance your career

5 Numpy functions

About Numpy and a brief introduction of chosen functions

NumPy (Numerical Python) is a python library used for working with arrays. It also has functions for working in domain of linear algebra, fourier transform, and matrices.

  • numpy.sort() It is used to sort the array.
  • numpy.argsort() It sorts the array and retuns the index position of sorted array
  • numpy.matmul() It gives the matrix multiplication of two arrays
  • numpy.dot() It gives the dot product of two arrays
  • numpy.vstack() It vertically stacks the two arrays

The recommended way to run this notebook is to click the "Run" button at the top of this page, and select "Run on Binder". This will run the notebook on mybinder.org, a free online service for running Jupyter notebooks.

!pip install jovian --upgrade -q
import jovian
jovian.commit(project='numpy-array-operations')
[jovian] Attempting to save notebook.. [jovian] Updating notebook "deepchatterjee-pune/numpy-array-operations" on https://jovian.ml/ [jovian] Uploading notebook.. [jovian] Capturing environment.. [jovian] Committed successfully! https://jovian.ml/deepchatterjee-pune/numpy-array-operations

Let's begin by importing Numpy and listing out the functions covered in this notebook.