Skip to content

Commit

Permalink
add ch2 ch3
Browse files Browse the repository at this point in the history
  • Loading branch information
Administrator committed Jul 22, 2017
1 parent 1d36c8b commit 4727bc8
Show file tree
Hide file tree
Showing 149 changed files with 2,719,316 additions and 123 deletions.
6,414 changes: 6,414 additions & 0 deletions ch2/.ipynb_checkpoints/1880-2010年间全美婴儿姓名-checkpoint.ipynb

Large diffs are not rendered by default.

1,379 changes: 1,379 additions & 0 deletions ch2/.ipynb_checkpoints/MovieLens 1M数据集-checkpoint.ipynb

Large diffs are not rendered by default.

1,197 changes: 1,197 additions & 0 deletions ch2/.ipynb_checkpoints/ch02-checkpoint.ipynb

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import json\n",
Expand Down Expand Up @@ -2278,7 +2280,9 @@
{
"cell_type": "code",
"execution_count": 49,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"cframe = frame[frame.a.notnull()]"
Expand All @@ -2287,7 +2291,9 @@
{
"cell_type": "code",
"execution_count": 50,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"operating_system = np.where(cframe['a'].str.contains('Windows'), 'Windows', 'Not Windows')"
Expand Down Expand Up @@ -2317,7 +2323,9 @@
{
"cell_type": "code",
"execution_count": 52,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"by_tz_os = cframe.groupby(['tz', operating_system])"
Expand Down Expand Up @@ -2493,7 +2501,9 @@
{
"cell_type": "code",
"execution_count": 62,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"count_subset = agg_counts.take(indexer)[-10:]"
Expand Down
Loading

0 comments on commit 4727bc8

Please sign in to comment.