Skip to content

Commit 1ff45b3

Browse files
committed
replace last DATA_FOLDER with DATA_PATH
1 parent c1def27 commit 1ff45b3

2 files changed

+2
-2
lines changed

02-supervised-learning.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2291,7 +2291,7 @@
22912291
],
22922292
"source": [
22932293
"import os\n",
2294-
"ram_prices = pd.read_csv(os.path.join(mglearn.datasets.DATA_FOLDER, \"ram_price.csv\"))\n",
2294+
"ram_prices = pd.read_csv(os.path.join(mglearn.datasets.DATA_PATH, \"ram_price.csv\"))\n",
22952295
"\n",
22962296
"plt.semilogy(ram_prices.date, ram_prices.price)\n",
22972297
"plt.xlabel(\"Year\")\n",

04-representing-data-feature-engineering.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"# The file has no headers naming the columns, so we pass header=None\n",
139139
"# and provide the column names explicitly in \"names\"\n",
140140
"data = pd.read_csv(\n",
141-
" os.path.join(mglearn.datasets.DATA_FOLDER, \"adult.data\"), header=None, index_col=False,\n",
141+
" os.path.join(mglearn.datasets.DATA_PATH, \"adult.data\"), header=None, index_col=False,\n",
142142
" names=['age', 'workclass', 'fnlwgt', 'education', 'education-num',\n",
143143
" 'marital-status', 'occupation', 'relationship', 'race', 'gender',\n",
144144
" 'capital-gain', 'capital-loss', 'hours-per-week', 'native-country',\n",

0 commit comments

Comments
 (0)