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

Simply Numpy functions you probably don't know

Know much about the library you use to save your time.

Python being one the best programing language for data science and computation, it comes with so many libraies and the community are developing lots of packages for it. Numpy is one the best packages and a python libray that is used mainly to provide a multidimensional array object, various derived objects ect. It makes operations on arrays faster and it uses less code to operate and execute on large data more efficiently

We shall be looking at some simply build in functions of Numpy that many people probably do not know about. They will make your work easier if you get to know them. They are as follows

  • where()
  • ogrid()
  • diag()
  • copyto()
  • broadcast_to
!pip install jovian --upgrade -q
WARNING: You are using pip version 20.2.2; however, version 20.2.3 is available. You should consider upgrading via the '/opt/conda/bin/python3.7 -m pip install --upgrade pip' command.
import jovian
project_name = 'numpy-array-operations'
jovian.commit(project = project_name)
[jovian] Attempting to save notebook.. [jovian] Detected Kaggle notebook... [jovian] Please enter your API key ( from https://jovian.ml/ ): API KEY: ········ [jovian] Uploading notebook to https://jovian.ml/abdulmajee/numpy-array-operations

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