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

Assignment 2

Introduction of numpy

NumPy is open-source add-on module to Python that provide common mathematical and numerical routines in pre-compiled, fast functions.
NumPy works with Python objects called multi-dimensional arrays.
Arrays are basically collections of values, and they have one or more dimensions.

list of functions that i choose are listed below

  • function 1 = flatten()
  • function 2 = swapaxes(a, source, destination)
  • function 3 = arange(start, stop, step)
  • function 4 = np.spilt()
  • function 5 = np.transpose()
!pip install jovian --upgrade -q
import jovian
jovian.commit(project='numpy-array-operations')
[jovian] Attempting to save notebook.. [jovian] Please enter your API key ( from https://jovian.ml/ ): API KEY: ········ [jovian] Updating notebook "zahraaliiii1997/numpy-array-operations" on https://jovian.ml/ [jovian] Uploading notebook.. [jovian] Capturing environment.. [jovian] Committed successfully! https://jovian.ml/zahraaliiii1997/numpy-array-operations

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