We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47cc2d1 commit 045b97cCopy full SHA for 045b97c
solutions/Ground-02.ipynb
@@ -177,7 +177,9 @@
177
{
178
"cell_type": "code",
179
"execution_count": null,
180
- "metadata": {},
+ "metadata": {
181
+ "collapsed": true
182
+ },
183
"outputs": [],
184
"source": [
185
"# now that we know the Ground version of the dataset, let's also inspect the schema of that dataset\n",
@@ -320,10 +322,9 @@
320
322
"import numpy as np\n",
321
323
"\n",
324
"def clean(df):\n",
- " temp = df[\"col1\"].copy()\n",
- " df[\"col1\"] = df[\"col2\"]\n",
325
- " df[\"col2\"] = temp\n",
326
- " # your solution here"
+ " temp = df[\"code\"].copy()\n",
+ " df[\"code\"] = df[\"country\"]\n",
327
+ " df[\"country\"] = temp"
328
]
329
},
330
0 commit comments