Skip to content

Commit 2e7a5e8

Browse files
author
craigsdennis
committed
Adds forum links
1 parent d6827c4 commit 2e7a5e8

File tree

3 files changed

+53
-71
lines changed

3 files changed

+53
-71
lines changed

s2n03-challenge1-top-referrers.ipynb

Lines changed: 10 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@
1010
"\n",
1111
"Currently, anyone with **5 or more** referrals is considered a top referrer.\n",
1212
"\n",
13-
"When you have completed the challenge, press the `Run Tests` button"
13+
"When you have completed the challenge, press the `Run Tests` button.\n",
14+
"\n",
15+
"*Need a little extra help? Check out the [Treehouse Forum](https://teamtreehouse.com/community?instruction=4552).*"
1416
]
1517
},
1618
{
1719
"cell_type": "code",
18-
"execution_count": 37,
20+
"execution_count": 1,
1921
"metadata": {},
2022
"outputs": [
2123
{
@@ -24,7 +26,7 @@
2426
"475"
2527
]
2628
},
27-
"execution_count": 37,
29+
"execution_count": 1,
2830
"metadata": {},
2931
"output_type": "execute_result"
3032
}
@@ -44,7 +46,7 @@
4446
},
4547
{
4648
"cell_type": "code",
47-
"execution_count": 38,
49+
"execution_count": 2,
4850
"metadata": {},
4951
"outputs": [
5052
{
@@ -223,7 +225,7 @@
223225
"[475 rows x 7 columns]"
224226
]
225227
},
226-
"execution_count": 38,
228+
"execution_count": 2,
227229
"metadata": {},
228230
"output_type": "execute_result"
229231
}
@@ -238,58 +240,13 @@
238240
},
239241
{
240242
"cell_type": "code",
241-
"execution_count": 39,
243+
"execution_count": 3,
242244
"metadata": {},
243245
"outputs": [
244-
{
245-
"data": {
246-
"application/javascript": [
247-
"IPython.notebook.execute_all_cells();"
248-
],
249-
"text/plain": [
250-
"<IPython.core.display.Javascript object>"
251-
]
252-
},
253-
"metadata": {},
254-
"output_type": "display_data"
255-
},
256-
{
257-
"data": {
258-
"application/vnd.jupyter.widget-view+json": {
259-
"model_id": "6dda60d04f0040859bd5f5db7db3eeea",
260-
"version_major": 2,
261-
"version_minor": 0
262-
},
263-
"text/plain": [
264-
"Button(description='Run Tests', style=ButtonStyle())"
265-
]
266-
},
267-
"metadata": {},
268-
"output_type": "display_data"
269-
},
270-
{
271-
"data": {
272-
"text/markdown": [
273-
"```\n",
274-
"...\n",
275-
"----------------------------------------------------------------------\n",
276-
"Ran 3 tests in 0.004s\n",
277-
"\n",
278-
"OK\n",
279-
"\n",
280-
"```"
281-
],
282-
"text/plain": [
283-
"<IPython.core.display.Markdown object>"
284-
]
285-
},
286-
"metadata": {},
287-
"output_type": "display_data"
288-
},
289246
{
290247
"data": {
291248
"application/vnd.jupyter.widget-view+json": {
292-
"model_id": "5fdab85d808240b5ba79999461a20256",
249+
"model_id": "3173395f5f7e4c1dacc395df45c550f1",
293250
"version_major": 2,
294251
"version_minor": 0
295252
},
@@ -330,7 +287,7 @@
330287
"AssertionError: 475 != 142 : Whoops I received a different count than I expected, make sure the last line is the entire resulting DataFrame (not just the head)\n",
331288
"\n",
332289
"----------------------------------------------------------------------\n",
333-
"Ran 3 tests in 0.004s\n",
290+
"Ran 3 tests in 0.006s\n",
334291
"\n",
335292
"FAILED (failures=3)\n",
336293
"\n",

s2n05-challenge2-update-user.ipynb

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"\n",
1313
"There are a couple ways to make this change happen, let's see what you can figure out!\n",
1414
"\n",
15-
"After you've completed the TODO's choose `Kernel > Restart and Run all Cells` to see your results!\n"
15+
"After you've completed the TODO's click the `Run Tests` button\n",
16+
"\n",
17+
"*Need a little extra help? Check out the [Treehouse Forum](https://teamtreehouse.com/community?instruction=4572).*"
1618
]
1719
},
1820
{
@@ -44,13 +46,6 @@
4446
"len(users)"
4547
]
4648
},
47-
{
48-
"cell_type": "code",
49-
"execution_count": null,
50-
"metadata": {},
51-
"outputs": [],
52-
"source": []
53-
},
5449
{
5550
"cell_type": "code",
5651
"execution_count": 2,
@@ -120,8 +115,8 @@
120115
" <tr>\n",
121116
" <th>adrian</th>\n",
122117
" <td>Adrian</td>\n",
123-
" <td>Yang</td>\n",
124-
" <td>adrian.yang@teamtreehouse.com</td>\n",
118+
" <td>Fang</td>\n",
119+
" <td>adrian.fang@teamtreehouse.com</td>\n",
125120
" <td>True</td>\n",
126121
" <td>2018-04-28</td>\n",
127122
" <td>3</td>\n",
@@ -207,7 +202,7 @@
207202
"aaron Aaron Davis aaron6348@gmail.com \n",
208203
"acook Anthony Cook cook@gmail.com \n",
209204
"adam.saunders Adam Saunders adam@gmail.com \n",
210-
"adrian Adrian Yang adrian.yang@teamtreehouse.com \n",
205+
"adrian Adrian Fang adrian.fang@teamtreehouse.com \n",
211206
"adrian.blair Adrian Blair adrian9335@gmail.com \n",
212207
"... ... ... ... \n",
213208
"wilson Robert Wilson robert@yahoo.com \n",
@@ -253,6 +248,20 @@
253248
"execution_count": 3,
254249
"metadata": {},
255250
"outputs": [
251+
{
252+
"data": {
253+
"application/vnd.jupyter.widget-view+json": {
254+
"model_id": "ca87e33565ed41e39c1d89da5125f6cc",
255+
"version_major": 2,
256+
"version_minor": 0
257+
},
258+
"text/plain": [
259+
"Button(description='Run Tests', style=ButtonStyle())"
260+
]
261+
},
262+
"metadata": {},
263+
"output_type": "display_data"
264+
},
256265
{
257266
"data": {
258267
"text/markdown": [
@@ -262,20 +271,20 @@
262271
"FAIL: test_jeffrey_with_one_f (tests.helpers.TestUpdateUsers)\n",
263272
"----------------------------------------------------------------------\n",
264273
"Traceback (most recent call last):\n",
265-
" File \"/Users/craig/Code/scripting/intro-to-pandas/tests/test_cells.py\", line 52, in test_jeffrey_with_one_f\n",
274+
" File \"/Users/craig/Code/scripting/intro-to-pandas/tests/test_cells.py\", line 56, in test_jeffrey_with_one_f\n",
266275
" 'Did you rename the username jeffrey to jefrey?'\n",
267276
"AssertionError: False is not true : Did you rename the username jeffrey to jefrey?\n",
268277
"\n",
269278
"======================================================================\n",
270279
"FAIL: test_kim_deal (tests.helpers.TestUpdateUsers)\n",
271280
"----------------------------------------------------------------------\n",
272281
"Traceback (most recent call last):\n",
273-
" File \"/Users/craig/Code/scripting/intro-to-pandas/tests/test_cells.py\", line 46, in test_kim_deal\n",
282+
" File \"/Users/craig/Code/scripting/intro-to-pandas/tests/test_cells.py\", line 50, in test_kim_deal\n",
274283
" 'Are you sure you updated the last name of kimberly@yahoo.com to \"Deal\"?'\n",
275284
"AssertionError: nan != 'Deal' : Are you sure you updated the last name of kimberly@yahoo.com to \"Deal\"?\n",
276285
"\n",
277286
"----------------------------------------------------------------------\n",
278-
"Ran 2 tests in 0.002s\n",
287+
"Ran 2 tests in 0.003s\n",
279288
"\n",
280289
"FAILED (failures=2)\n",
281290
"\n",
@@ -310,7 +319,7 @@
310319
"name": "python",
311320
"nbconvert_exporter": "python",
312321
"pygments_lexer": "ipython3",
313-
"version": "3.7.0"
322+
"version": "3.7.1"
314323
}
315324
},
316325
"nbformat": 4,

s2n09-challenge3-verified-email-list.ipynb

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"\n",
1414
"Ensure that all first names are title cased. Do not include any records that have a missing last name, and make sure that their email is verified (**`email_verified`** should be set True). Sort by last name and then by first.\n",
1515
"\n",
16-
"Choose `Kernel > Restart & Run all` to run the tests properly. \n"
16+
"Once you have completed the TODOs, choose the `Run Tests` button.\n",
17+
"\n",
18+
"*Need a little extra help? Check out the [Treehouse Forum](https://teamtreehouse.com/community?instruction=4573).*\n"
1719
]
1820
},
1921
{
@@ -245,6 +247,20 @@
245247
"execution_count": 3,
246248
"metadata": {},
247249
"outputs": [
250+
{
251+
"data": {
252+
"application/vnd.jupyter.widget-view+json": {
253+
"model_id": "9979fc1830b443128f18c18c4cc5f59f",
254+
"version_major": 2,
255+
"version_minor": 0
256+
},
257+
"text/plain": [
258+
"Button(description='Run Tests', style=ButtonStyle())"
259+
]
260+
},
261+
"metadata": {},
262+
"output_type": "display_data"
263+
},
248264
{
249265
"data": {
250266
"text/markdown": [
@@ -294,7 +310,7 @@
294310
"AssertionError: 19 != 0 : Make sure you title case the first names, there are still some lower case versions\n",
295311
"\n",
296312
"----------------------------------------------------------------------\n",
297-
"Ran 5 tests in 0.034s\n",
313+
"Ran 5 tests in 0.033s\n",
298314
"\n",
299315
"FAILED (failures=5)\n",
300316
"\n",
@@ -329,7 +345,7 @@
329345
"name": "python",
330346
"nbconvert_exporter": "python",
331347
"pygments_lexer": "ipython3",
332-
"version": "3.7.0"
348+
"version": "3.7.1"
333349
}
334350
},
335351
"nbformat": 4,

0 commit comments

Comments
 (0)