{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Scores" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Introduction:\n", "\n", "This time you will create the data.\n", "\n", "***Exercise based on [Chris Albon](http://chrisalbon.com/) work, the credits belong to him.***\n", "\n", "### Step 1. Import the necessary libraries" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": false }, "outputs": [], "source": [] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Step 2. Create the DataFrame that should look like the one below." ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/html": [ "
| \n", " | first_name | \n", "last_name | \n", "age | \n", "female | \n", "preTestScore | \n", "postTestScore | \n", "
|---|---|---|---|---|---|---|
| 0 | \n", "Jason | \n", "Miller | \n", "42 | \n", "0 | \n", "4 | \n", "25 | \n", "
| 1 | \n", "Molly | \n", "Jacobson | \n", "52 | \n", "1 | \n", "24 | \n", "94 | \n", "
| 2 | \n", "Tina | \n", "Ali | \n", "36 | \n", "1 | \n", "31 | \n", "57 | \n", "
| 3 | \n", "Jake | \n", "Milner | \n", "24 | \n", "0 | \n", "2 | \n", "62 | \n", "
| 4 | \n", "Amy | \n", "Cooze | \n", "73 | \n", "1 | \n", "3 | \n", "70 | \n", "