In [1]:
# the magic command to plot inline with the notebook
# https://ipython.org/ipython-doc/dev/interactive/tutorial.html#magic-functions
%matplotlib inline
In [2]:
import pandas as pd
In [3]:
df = pd.read_excel("data/height_weight.xlsx")
In [4]:
df.hist()
Out[4]:
In [5]:
df.mean()
Out[5]:
In [6]:
df.describe()
Out[6]:
In [7]:
df['height'].max() - df['height'].min()
Out[7]:
In [9]:
df['height'].quantile(q=0.75) - df['height'].quantile(q=0.25)
Out[9]:
In [10]:
df.corr()
Out[10]:
In [ ]: