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

Numpy Array Operations

The basics of working with np arrays

I first started working with NumPy financial functions only to learn once I was a few hours into the howmework that those functions are no longer part of the NumPy package but are deprecated and have been moved out into their own package. As a result I will be doing 5 very basic functions in an effort to submit the assingment at the last moment.

  • reshape
  • broadcast
  • asmatrix
  • stack
  • array_split

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] Updating notebook "ithackermike/numpy-array-operations" on https://jovian.ml/ [jovian] Uploading notebook.. [jovian] Capturing environment.. [jovian] Committed successfully! https://jovian.ml/ithackermike/numpy-array-operations

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