From 47b285c8f61b344d88ca85a25c36adfa1a8189d2 Mon Sep 17 00:00:00 2001 From: Mikel Date: Fri, 4 Jun 2021 13:21:05 +0200 Subject: [PATCH] entrega --- your-code/main.ipynb | 107 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 90 insertions(+), 17 deletions(-) diff --git a/your-code/main.ipynb b/your-code/main.ipynb index 37acd33..aa0c40a 100755 --- a/your-code/main.ipynb +++ b/your-code/main.ipynb @@ -14,7 +14,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ @@ -35,7 +35,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ @@ -57,11 +57,51 @@ }, { "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "# Your code here:\n" + "execution_count": 3, + "metadata": {}, + "outputs": [ + { + "output_type": "execute_result", + "data": { + "text/plain": [ + " class cap-shape cap-surface cap-color bruises odor gill-attachment \\\n", + "0 p x s n t p f \n", + "1 e x s y t a f \n", + "2 e b s w t l f \n", + "3 p x y w t p f \n", + "4 e x s g f n f \n", + "\n", + " gill-spacing gill-size gill-color ... stalk-surface-below-ring \\\n", + "0 c n k ... s \n", + "1 c b k ... s \n", + "2 c b n ... s \n", + "3 c n n ... s \n", + "4 w b k ... s \n", + "\n", + " stalk-color-above-ring stalk-color-below-ring veil-type veil-color \\\n", + "0 w w p w \n", + "1 w w p w \n", + "2 w w p w \n", + "3 w w p w \n", + "4 w w p w \n", + "\n", + " ring-number ring-type spore-print-color population habitat \n", + "0 o p k s u \n", + "1 o p n n g \n", + "2 o p n n m \n", + "3 o p k s u \n", + "4 o e n a g \n", + "\n", + "[5 rows x 23 columns]" + ], + "text/html": "
\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
classcap-shapecap-surfacecap-colorbruisesodorgill-attachmentgill-spacinggill-sizegill-color...stalk-surface-below-ringstalk-color-above-ringstalk-color-below-ringveil-typeveil-colorring-numberring-typespore-print-colorpopulationhabitat
0pxsntpfcnk...swwpwopksu
1exsytafcbk...swwpwopnng
2ebswtlfcbn...swwpwopnnm
3pxywtpfcnn...swwpwopksu
4exsgfnfwbk...swwpwoenag
\n

5 rows × 23 columns

\n
" + }, + "metadata": {}, + "execution_count": 3 + } + ], + "source": [ + "mushrooms.head()\n" ] }, { @@ -75,11 +115,45 @@ }, { "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "# Your code here:\n" + "execution_count": 4, + "metadata": {}, + "outputs": [ + { + "output_type": "execute_result", + "data": { + "text/plain": [ + "class object\n", + "cap-shape object\n", + "cap-surface object\n", + "cap-color object\n", + "bruises object\n", + "odor object\n", + "gill-attachment object\n", + "gill-spacing object\n", + "gill-size object\n", + "gill-color object\n", + "stalk-shape object\n", + "stalk-root object\n", + "stalk-surface-above-ring object\n", + "stalk-surface-below-ring object\n", + "stalk-color-above-ring object\n", + "stalk-color-below-ring object\n", + "veil-type object\n", + "veil-color object\n", + "ring-number object\n", + "ring-type object\n", + "spore-print-color object\n", + "population object\n", + "habitat object\n", + "dtype: object" + ] + }, + "metadata": {}, + "execution_count": 4 + } + ], + "source": [ + "mushrooms.dtypes\n" ] }, { @@ -493,9 +567,8 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", - "language": "python", - "name": "python3" + "name": "python385jvsc74a57bd0e134e05457d34029b6460cd73bbf1ed73f339b5b6d98c95be70b69eba114fe95", + "display_name": "Python 3.8.5 64-bit ('base': conda)" }, "language_info": { "codemirror_mode": { @@ -507,9 +580,9 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.1" + "version": "3.8.5" } }, "nbformat": 4, "nbformat_minor": 1 -} +} \ No newline at end of file