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

Numpy Examples

Introduction

Numpy stands for Numerical Python. It is a library consisting of multidimensional array objects and a collection of routines for proccessing of arrays. We can perform mathematical and logical operations on arrays using this library. Below are few basic Numpy fucntions.

  • numpy.full(shape, fill_value, dtype=None, order='C')
  • numpy.arange([start,] stop[, step,][, dtype])
  • numpy.unique(ar, return_index=False, return_inverse=False, return_counts=False, axis=None)
  • numpy.trim_zeros(filt, trim='fb')
  • numpy.sort(a, axis=-1, kind=None, order=None)

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_Examples')
[jovian] Creating a new project "ahmedhassan580/numpy_Examples" [jovian] Committed successfully! https://jovian.ai/ahmedhassan580/numpy-examples

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