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

5 Numpy functions you don't know you need

What is NumPy?
NumPy is the fundamental package for scientific computing in Python. It is a Python library that provides a multidimensional array object, various derived objects (such as masked arrays and matrices), and an assortment of routines for fast operations on arrays, including mathematical, logical, shape manipulation, sorting, selecting, I/O, discrete Fourier transforms, basic linear algebra, basic statistical operations, random simulation and much more.

What will we be talking about?

  • np.pad()
  • np.clip()
  • np.extract()
  • np.allclose()
  • np.repeat()
!pip install jovian --upgrade -q
import jovian
jovian.commit(project='numpy-array-operations')
[jovian] Attempting to save notebook.. [jovian] Updating notebook "ameyalaad200/numpy-array-operations" on https://jovian.ml/ [jovian] Uploading notebook.. [jovian] Capturing environment.. [jovian] Committed successfully! https://jovian.ml/ameyalaad200/numpy-array-operations

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