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 npx = np.arange(0,10)y = x*2z = x**2print("X : ", x)print("Y : ", y)print("Z : ", z)
...