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

5 Interesting Array routines

These are the arrays that I find interesting.

Looking through the numpy documentation, these 5 interesting methods were chosen. In the this notebook will explain how they work and examples of the method being used and an example of the method resulting in an error and why. There are no specific reason why any of these were chosen but because I believed that they might be useful to know.

  • np.vstack
  • np.hstack
  • np.full
  • np.arange
  • np.reshape

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

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