Skip to content

Commit 0ca2fbd

Browse files
committed
Fix URL. Closes #2.
1 parent 71310e7 commit 0ca2fbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

robust_models.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@
908908
" from pandas.rpy import load_data\n",
909909
" prestige = load_data('Duncan', 'car')\n",
910910
"except:\n",
911-
" url = 'eagle1.american.edu/~js2796a/Duncan.csv'\n",
911+
" url = 'http://eagle1.american.edu/~js2796a/Duncan.csv'\n",
912912
" prestige = pandas.read_csv(url, index_col=0)\n",
913913
" # could load stata file, but it's for Stata 8\n",
914914
" #from statsmodels.tools.tools import webuse\n",

robust_models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def plot_weights(support, weights_func, xlabels, xticks):
259259
from pandas.rpy import load_data
260260
prestige = load_data('Duncan', 'car')
261261
except:
262-
url = 'eagle1.american.edu/~js2796a/Duncan.csv'
262+
url = 'http://eagle1.american.edu/~js2796a/Duncan.csv'
263263
prestige = pandas.read_csv(url, index_col=0)
264264
# could load stata file, but it's for Stata 8
265265
#from statsmodels.tools.tools import webuse

0 commit comments

Comments
 (0)