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

SOME NUMPY COMPUTATIONAL FUCTIONS

5 Numpy amazing functions you will like to know

**Numpy is a numerical computational python library used for data analysis having amazing functions to play around in order to achieve a desire output. Below are five choosen functions you will need to know about

  1. Trigeometric Functions
  2. Rounding Functions
  3. Stacking Functions
  4. Statistical Functions
  5. Linear algebra and Matrix Library

**pi function can be call using numpy.pi or can be import from numpy module as seen below

import numpy as np
from numpy import pi

Function 1. Trigeometric Function is a scientific function used to determine value for angle and viseversa. we have the sin(), cos(), tan(), arcsin() cot() functions. pi/180 is use to convert degrees into radians

angles = np.array([0,30,60,120,150,180,360])