In [5]:
first_name = 'Richard'
last_name = 'Dunks'
number = 3

In [6]:
full_name = "%s %s %s" % (first_name,last_name,number)

In [7]:
full_name


Out[7]:
'Richard Dunks 3'

In [10]:
import pandas as pd # import the pandas package
%matplotlib inline

In [11]:
df = pd.read_csv("Data_Collection_Sheet.csv")

In [23]:
df['siblings (not including you)'].hist(bins=3)


Out[23]:
<matplotlib.axes.AxesSubplot at 0x1085fe5d0>

In [18]:
df.mean()


Out[18]:
height (inches)                 66.623477
age (years)                     29.500000
siblings (not including you)     1.500000
dtype: float64

In [19]:
df.median()


Out[19]:
height (inches)                 66.5
age (years)                     27.0
siblings (not including you)     1.0
dtype: float64

In [25]:
df['height (inches)'].max() - df['height (inches)'].min()


Out[25]:
13.0

In [26]:
df.std()


Out[26]:
height (inches)                 3.239595
age (years)                     7.676495
siblings (not including you)    1.057850
dtype: float64

In [27]:
df['height (inches)'].mean()


Out[27]:
66.623477272727271

In [30]:
df.boxplot()


Out[30]:
{'boxes': [<matplotlib.lines.Line2D at 0x108b77c50>,
  <matplotlib.lines.Line2D at 0x108ad6e90>,
  <matplotlib.lines.Line2D at 0x108b89110>],
 'caps': [<matplotlib.lines.Line2D at 0x108b64f90>,
  <matplotlib.lines.Line2D at 0x108b77610>,
  <matplotlib.lines.Line2D at 0x108ad6210>,
  <matplotlib.lines.Line2D at 0x108ad6850>,
  <matplotlib.lines.Line2D at 0x108b7e450>,
  <matplotlib.lines.Line2D at 0x108b7ea90>],
 'fliers': [<matplotlib.lines.Line2D at 0x108ac9910>,
  <matplotlib.lines.Line2D at 0x108ac9f10>,
  <matplotlib.lines.Line2D at 0x108adfb50>,
  <matplotlib.lines.Line2D at 0x108aef190>,
  <matplotlib.lines.Line2D at 0x108b89d90>,
  <matplotlib.lines.Line2D at 0x108b94790>],
 'medians': [<matplotlib.lines.Line2D at 0x108ac92d0>,
  <matplotlib.lines.Line2D at 0x108adf510>,
  <matplotlib.lines.Line2D at 0x108b89750>],
 'whiskers': [<matplotlib.lines.Line2D at 0x108b64650>,
  <matplotlib.lines.Line2D at 0x108b648d0>,
  <matplotlib.lines.Line2D at 0x108abd550>,
  <matplotlib.lines.Line2D at 0x108abdb90>,
  <matplotlib.lines.Line2D at 0x108aefb50>,
  <matplotlib.lines.Line2D at 0x108aefdd0>]}

In [ ]: