We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df0f008 commit 35f8f33Copy full SHA for 35f8f33
Solutions-1.ipynb
@@ -1274,7 +1274,14 @@
1274
"\n",
1275
"c = cast\n",
1276
"c = c[c.character == 'Ophelia']\n",
1277
- "len(c)"
+ "len(c)\n",
1278
+ "\n",
1279
+ "# That was my original answer.\n",
1280
+ "# But 9peppe on GitHub points out I am wrong! Instead:\n",
1281
1282
+ "len(cast[cast.character == \"Ophelia\"].name.unique())\n",
1283
1284
+ "# Can you work out why the two answers are different?"
1285
]
1286
},
1287
{
0 commit comments