Lijndiagrammen maken

Introductie tot Data Science in Python

Hillary Green-Lerman

Lead Data Scientist, Looker

Het plot verdikt

Introductie tot Data Science in Python

Van DataFrame naar Visualisatie

Introductie tot Data Science in Python

Introductie tot Matplotlib

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

plt.show()

Introductie tot Data Science in Python

Lijndiagram

Introductie tot Data Science in Python

Resultaten weergeven

plt.show()

Een plot weergeven met de plt.show() functie

Introductie tot Data Science in Python

Meerdere lijnen

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

Introductie tot Data Science in Python

Laten we oefenen!

Introductie tot Data Science in Python

Preparing Video For Download...