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

5 Numpy Functions You Should Know

Introduction

What is NumPy?

NumPy 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 was created in 2005 by Travis Oliphant. It is an open source project and you can use it freely.

NumPy stands for Numerical Python.

From here we will try to learn the functions of the numpy, with the names of the functions as follows.

  • transpose
  • split
  • reshape
  • stack
  • hstack

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] Detected Colab notebook... [jovian] Please enter your API key ( from https://jovian.ml/ ): API KEY: ·········· [jovian] Uploading colab notebook to Jovian... [jovian] Committed successfully! https://jovian.ml/aattawut-field/numpy-array-operations

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