Skip to content

Commit a13d4df

Browse files
committed
numbered notebooks now
1 parent 4090000 commit a13d4df

8 files changed

+345
-344
lines changed

.DS_Store

6 KB
Binary file not shown.

notebooks/00 - The Baseball Data - Cleaning it.ipynb

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@
2929
"I used [`mlb_terminal`](https://github.com/slnovak/mlb_terminal) to collect 2 months worth of data from the 2013 season. You can see it in the bash script `scrape-mlb.sh`."
3030
]
3131
},
32+
{
33+
"cell_type": "code",
34+
"collapsed": false,
35+
"input": [
36+
"! open http://gd2.mlb.com/components/game/mlb/year_2012/month_06/day_01/gid_2012_06_01_arimlb_sdnmlb_1/inning/inning_2.xml"
37+
],
38+
"language": "python",
39+
"metadata": {},
40+
"outputs": [],
41+
"prompt_number": 4
42+
},
3243
{
3344
"cell_type": "code",
3445
"collapsed": false,
@@ -585,14 +596,6 @@
585596
"metadata": {},
586597
"outputs": [],
587598
"prompt_number": 38
588-
},
589-
{
590-
"cell_type": "code",
591-
"collapsed": false,
592-
"input": [],
593-
"language": "python",
594-
"metadata": {},
595-
"outputs": []
596599
}
597600
],
598601
"metadata": {}

notebooks/01 - The Basics - The API, Datasets, Your First ggplot.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"cell_type": "code",
1212
"collapsed": false,
1313
"input": [
14-
"from ggplot import * # I do import *\n",
14+
"# import * is a personal choice\n",
15+
"from ggplot import *\n",
1516
"# our trusty old friends\n",
1617
"import pandas as pd\n",
1718
"import numpy as np"

notebooks/02 - A Case Study - Exploring a baseball dataset.ipynb

Lines changed: 103 additions & 227 deletions
Large diffs are not rendered by default.

notebooks/03 - Looking for Trends - Colors & Stat Smooth.ipynb

Lines changed: 79 additions & 78 deletions
Large diffs are not rendered by default.

notebooks/04 - The Strike Zone - scales, labels, and themes.ipynb

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

notebooks/05 - What's next.ipynb

Lines changed: 115 additions & 2 deletions
Large diffs are not rendered by default.

notebooks/06 - Under the Hood.ipynb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
"worksheets": [
88
{
99
"cells": [
10+
{
11+
"cell_type": "markdown",
12+
"metadata": {},
13+
"source": [
14+
"## I didn't get this far"
15+
]
16+
},
1017
{
1118
"cell_type": "code",
1219
"collapsed": false,

0 commit comments

Comments
 (0)