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

5 Awesome NumPy Functions!

Introduction

NumPy, short for 'Numerical Python', is a powerful open source project within Python that allows you to perform a variety of numerical computations within Python. While there are many NumPy functions to choose from, we are going to consider some Array Manipulation functions. The 5 that we're going to take a look at are:

  • copyto - copying values from one array to another
  • transpose - to transpose the data in the axes
  • stack - joining a sequence of arrays along a new axis
  • split - splitting an array into multiple sub-arrays
  • delete - returns a new array with sub-arrays along an axis deleted

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')

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