Introductie tot Data Science in Python
Hillary Green-Lerman
Lead Data Scientist, Looker

import pandas as pd
from matplotlib import pyplot as plt
df = pd.read_csv('letter_frequency.csv')
plt.plot(df.letter_index, df.frequency, label='Ransom')
plt.show()
Functies voeren acties uit:
pd.read_csv() zet een csv-bestand om in een tabel in Pythonplt.plot() maakt van data een lijndiagramplt.show() toont het diagram in een nieuw venster


Functienaam:
plt)plot)()
Positional Arguments:

Keyword Arguments:
label), gevolgd door een gelijkteken (=)Ransom)

Introductie tot Data Science in Python