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

NUMPY FUNCTIONS

INTRODUCTION

NumPy is an open-source extension for Python that allows us to use vectors and matrices. We can also use it to work in the domain of linear algebra and fourier transforms.

By using this library, we can get faster results than those obtained from the traditional Python lists. This happens due to its locality reference (the data is stored at one continuous place in memory).
In this article we will go through five useful NumPy functions.

  • np.full
  • np.vdot
  • np.flatten
  • np.transpose
  • np.split
!pip install jovian --upgrade -q
import jovian
jovian.commit(project='numpy-array-operations')
[jovian] Attempting to save notebook.. [jovian] Please enter your API key ( from https://jovian.ml/ ): API KEY: ········ [jovian] Updating notebook "mrunmayeewaykar/numpy-array-operations" on https://jovian.ml/ [jovian] Uploading notebook.. [jovian] Capturing environment.. [jovian] Committed successfully! https://jovian.ml/mrunmayeewaykar/numpy-array-operations

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