Introduction to Data Science in Python
Hillary Green-Lerman
Lead Data Scientist, Looker

importimport happens at the beginning of a script fileimport pandas as pd
import numpy as np

import pandas as pd.head() or .info()credit_reports[
credit_report.suspect ==
'Freddy Frequentist']

from matplotlib import pyplot as pltplt.plot() to create a line plot
plt.scatter() shows individual data pointsplt.bar() creates bar chartsplt.hist() visualizes distributions
Introduction to Data Science in Python