Skip to content

Commit bffe56c

Browse files
author
craigsdennis
committed
Shortens max rows displayed
1 parent 8bf83dd commit bffe56c

File tree

2 files changed

+27
-5
lines changed

2 files changed

+27
-5
lines changed

‎s2n3-challenge1-top-referrers.ipynb

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"\n",
3737
"from tests.helpers import check\n",
3838
"\n",
39+
"pd.options.display.max_rows = 10\n",
3940
"users = pd.read_csv(os.path.join('data', 'users.csv'), index_col=0)\n",
4041
"# Pop out a quick sanity check\n",
4142
"len(users)"

‎s2n5-challenge2-update-user.ipynb

+26-5
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,18 @@
66
"source": [
77
"# Challenge 2 - Update Users\n",
88
"\n",
9-
"We'd like you to update the user with email address [email protected] to have the last name \"Deal\".\n",
9+
"We at Casx would like you to update the user with email address [email protected] to have the last name \"Deal\".\n",
1010
"\n",
11-
"There is a misspelling of a user whose user name is **jeffrey**, it should only be one `f`, **jefrey**.\n",
11+
"There is a misspelling of a user whose username is **jeffrey**. It should only be one `f`, **jefrey**.\n",
1212
"\n",
13-
"There are a couple ways to make this change happen, let's see what you can figure out!\n"
13+
"There are a couple ways to make this change happen, let's see what you can figure out!\n",
14+
"\n",
15+
"After you've completed the TODO's choose `Kernel > Restart and Run all Cells` to see your results!\n"
1416
]
1517
},
1618
{
1719
"cell_type": "code",
18-
"execution_count": 1,
20+
"execution_count": 5,
1921
"metadata": {},
2022
"outputs": [
2123
{
@@ -24,7 +26,7 @@
2426
"475"
2527
]
2628
},
27-
"execution_count": 1,
29+
"execution_count": 5,
2830
"metadata": {},
2931
"output_type": "execute_result"
3032
}
@@ -36,11 +38,30 @@
3638
"\n",
3739
"from tests.helpers import check\n",
3840
"\n",
41+
"pd.options.display.max_rows = 10\n",
3942
"users = pd.read_csv(os.path.join('data', 'users.csv'), index_col=0)\n",
4043
"# Pop out a quick sanity check\n",
4144
"len(users)"
4245
]
4346
},
47+
{
48+
"cell_type": "code",
49+
"execution_count": 4,
50+
"metadata": {},
51+
"outputs": [
52+
{
53+
"data": {
54+
"text/plain": [
55+
"60"
56+
]
57+
},
58+
"execution_count": 4,
59+
"metadata": {},
60+
"output_type": "execute_result"
61+
}
62+
],
63+
"source": []
64+
},
4465
{
4566
"cell_type": "code",
4667
"execution_count": 2,

0 commit comments

Comments
 (0)