Learn practical skills, build real-world projects, and advance your career
Updated 3 years ago
import jovian
Let's begin by importing Numpy and listing out the functions covered in this notebook.
import numpy as np
# List of functions explained
function1 = np.arange
function2 = np.diag
function3 = np.reshape
function4 = np.sort
function5 = np.linspace
Function 1 - np.arange
np.arange function is work how range function work in python but returns an ndarray rather than a list. In np.arange we mantion stating and endpoin we can also give different step in np.arange.