Skip to content

Commit

Permalink
update location of data
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Jan 10, 2016
1 parent f2866a3 commit 7f2a67d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
},
{
"cell_type": "code",
"execution_count": 20,
"execution_count": 1,
"metadata": {
"collapsed": false
},
Expand All @@ -86,6 +86,14 @@
"text": [
"Populating the interactive namespace from numpy and matplotlib\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"WARNING: pylab import has clobbered these variables: ['datetime']\n",
"`%matplotlib` prevents importing * from pylab and numpy\n"
]
}
],
"source": [
Expand All @@ -98,7 +106,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 3,
"metadata": {
"collapsed": false
},
Expand All @@ -113,12 +121,12 @@
}
],
"source": [
"data = pd.read_csv('divorce.dat', sep=\"\\s{2,10}\")"
"data = pd.read_csv('../lifelines/datasets/divorce.dat', sep=\"\\s{2,10}\")"
]
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 4,
"metadata": {
"collapsed": false
},
Expand Down Expand Up @@ -266,7 +274,7 @@
"9 56 < 12 years Yes No 3.869 No"
]
},
"execution_count": 11,
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -277,7 +285,7 @@
},
{
"cell_type": "code",
"execution_count": 108,
"execution_count": 5,
"metadata": {
"collapsed": true
},
Expand All @@ -288,7 +296,7 @@
},
{
"cell_type": "code",
"execution_count": 109,
"execution_count": 6,
"metadata": {
"collapsed": false
},
Expand Down Expand Up @@ -400,7 +408,7 @@
"4 0 0 0 1.418 "
]
},
"execution_count": 109,
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 1,
"metadata": {
"collapsed": false
},
Expand All @@ -130,12 +130,12 @@
}
],
"source": [
"data = pd.read_csv('gehan.dat', sep=\"\\s{1,3}\", header=None)"
"data = pd.read_csv('../lifelines/datasets/gehan.dat', sep=\"\\s{1,3}\", header=None)"
]
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 2,
"metadata": {
"collapsed": false
},
Expand Down Expand Up @@ -210,7 +210,7 @@
"41 1 23 1"
]
},
"execution_count": 5,
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -221,7 +221,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 3,
"metadata": {
"collapsed": false
},
Expand Down

0 comments on commit 7f2a67d

Please sign in to comment.