Creating line plots

Introduzione alla Data Science in Python

Hillary Green-Lerman

Lead Data Scientist, Looker

The plot thickens

Introduzione alla Data Science in Python

From DataFrame to Visualization

Introduzione alla Data Science in Python

Introducing Matplotlib

from matplotlib import pyplot as plt
plt.plot(x_values, y_values)

plt.show()

Introduzione alla Data Science in Python

Line Plot

Introduzione alla Data Science in Python

Displaying the Results

plt.show()

Displaying a plot using the plt.show() function

Introduzione alla Data Science in Python

Multiple Lines

plt.plot(data1.x_values,
         data1.y_values)
plt.plot(data2.x_values,
         data2.y_values)
plt.show()

Introduzione alla Data Science in Python

Let's practice!

Introduzione alla Data Science in Python

Preparing Video For Download...