fixed block 12
This commit is contained in:
@@ -971,7 +971,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 28,
|
"execution_count": null,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"id": "NuKqemiiKPR_"
|
"id": "NuKqemiiKPR_"
|
||||||
},
|
},
|
||||||
@@ -1009,7 +1009,7 @@
|
|||||||
"# >>> ADD CODE HERE TO KEEP THE WARNING FROM HAPPENING <<<\n",
|
"# >>> ADD CODE HERE TO KEEP THE WARNING FROM HAPPENING <<<\n",
|
||||||
"\n",
|
"\n",
|
||||||
"df_final['irisname'] = df_final['irisname'].apply(convertSpecies)\n",
|
"df_final['irisname'] = df_final['irisname'].apply(convertSpecies)\n",
|
||||||
"df_final.loc[:, 'irisname'] = df_final['irisname'].apply(convertSpecies)\n",
|
"#df_final.loc[:, 'irisname'] = df_final['irisname'].apply(convertSpecies)\n",
|
||||||
"# Don't run this twice! Why?! What's \"KeyError: 0\"?\n",
|
"# Don't run this twice! Why?! What's \"KeyError: 0\"?\n",
|
||||||
"# (of course, you can always go back and re-establish definitions of df_final)\n",
|
"# (of course, you can always go back and re-establish definitions of df_final)\n",
|
||||||
"\n"
|
"\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user