Scores¶
Introduction:¶
This time you will create the data.
Exercise based on Chris Albon work, the credits belong to him.
Step 1. Import the necessary libraries¶
In [1]:
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
%matplotlib inline
Step 2. Create the DataFrame it should look like below.¶
In [2]:
Out[2]:
| first_name | last_name | age | female | preTestScore | postTestScore | |
|---|---|---|---|---|---|---|
| 0 | Jason | Miller | 42 | 0 | 4 | 25 |
| 1 | Molly | Jacobson | 52 | 1 | 24 | 94 |
| 2 | Tina | Ali | 36 | 1 | 31 | 57 |
| 3 | Jake | Milner | 24 | 0 | 2 | 62 |
| 4 | Amy | Cooze | 73 | 1 | 3 | 70 |
In [5]:
Out[5]:
<matplotlib.text.Text at 0x114e89d10>
In [10]:
Out[10]:
<matplotlib.text.Text at 0x11608c250>
BONUS: Create your own question and answer it.¶
In [ ]: