...

/

Challenge 2: Matplotlib for Data Visualization

Challenge 2: Matplotlib for Data Visualization

Complete another challenge to practice what you’ve learned about pandas essentials so far.

We'll cover the following...

In the first cell, we simply create data x and y to use in the provided tasks.

Press + to interact
import matplotlib.pyplot as plt
# We need data to work with, so let’s create data first!
import numpy as np
x = np.arange(0,10)
y = x*2
z = x**2
print("X : ", x)
print("Y : ", y)
print("Z : ", z)
...