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

Assignment 2 - Numpy Array Operations

Numpy Functions

5 Numpy functions every data scientist should know!

Numerical Python library (Numpy) is one of the most useful tools for decision science (widely known as Data Science).

Provided below are five functionality which you must be comfortable with to derive the benefit of Python!

[Note: np is a short form used for Numpy while importing the package]

  • numpy.where [np.where]
  • numpy.choose
  • numpy.select
  • numpy.amin
  • numpy.take

Two side functions which always come handy while working with Panda's DataFrame:

dataframe.to_clipboard()
pd.read_clipboard()

The above functions copy the panda's dataframe on the clipboard, for easy pasting on other tools (such as textfile, excel, word etc.)

!pip install jovian --upgrade -q
import jovian
jovian.commit(project='Assignment-2-Numpy')
[jovian] Detected Colab notebook... [jovian] Uploading colab notebook to Jovian... [jovian] Committed successfully! https://jovian.ml/jayeshkum/assignment-2-numpy

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