Introduction to Data Science in Python
Hillary Green-Lerman
Lead Data Scientist, Looker
import
import
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 plt
plt.plot()
to create a line plotplt.scatter()
shows individual data pointsplt.bar()
creates bar chartsplt.hist()
visualizes distributionsIntroduction to Data Science in Python