Skip to content

Introduction to NumPy

Run the hidden code cell below to import the data used in this course.

# Importing numpy
import numpy as np

# Importing the data
with open("datasets/rgb_array.npy", "rb") as f:
    rgb_array = np.load(f)
with open("datasets/tree_census.npy", "rb") as f:
    tree_census = np.load(f)
with open("datasets/monthly_sales.npy", "rb") as f:
    monthly_sales = np.load(f)
with open("datasets/sudoku_game.npy", "rb") as f:
    sudoku_game = np.load(f)
with open("datasets/sudoku_solution.npy", "rb") as f:
    sudoko_solution = np.load(f)

Take Notes

Add notes about the concepts you've learned and code cells with code you want to keep.

Add your notes here

# Add your code snippets here