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

5 Interesting Numpy functions one should learn to manupulate arrays

Shape-Shift arrays, shall we?!

Before we jump into the core usafe of mathematical functions of numpy, i find it very important to manipulate the arrays, get desired data once i'm done with all calculations. Giving a once over all the numpy functions, i find the below functiosn to be extremely useful no matter what feild they are applied or used in.

  • RESHAPE
  • EXTRACT
  • TRACE
  • RANDOM SHUFFLE
  • REPEAT

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.. [jovian] Please enter your API key ( from https://jovian.ml/ ): API KEY: ········ [jovian] Updating notebook "teja2992/numpy-array-operations" on https://jovian.ml/ [jovian] Uploading notebook.. [jovian] Capturing environment.. [jovian] Committed successfully! https://jovian.ml/teja2992/numpy-array-operations

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