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

Assignment 2 - Some Cool Selected Numpy Functions and an Explanation of How They Work

My List of 5 Top Numpy Functions

My top 5 Numpy functions cover mathematics, algebra, arrays and statistics

What is Numpy

Numpy literally means Numerical Python
Numpy is a python libary that is used to work with arrays

Who developed Numpy?

Numpy was created by Travis Oliphant in 2005

What language is Numpy written in?

Numpy is written in a combination of Python and C++

Why is Numpy faster than Python?

NumPy arrays are stored at one continuous place in memory unlike lists, so processes can access and manipulate them very efficiently.
This behavior is called locality of reference in computer science.

What is Numpy used for?

Although Python can be used for the same purpose of computation as Numpy, Numpy scores over Python as it is 50 x faster (https://www.w3schools.com/python/numpy_intro.asp)

Where can I learn more?

You can learn more about Numpy by clicking this link
https://numpy.org/

  • function 1: np.round
  • function 2: np.concatenate
  • function 3: np.reshape
  • function 4: np.dot
  • function 5: np.mean

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..

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