Commit ddb6fbf4 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

update

parent 7a771e13
...@@ -601,9 +601,9 @@ ...@@ -601,9 +601,9 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"array([[2., 2., 9., 4.],\n", "array([[2., 9., 8., 6.],\n",
" [6., 6., 3., 6.],\n", " [8., 4., 2., 9.],\n",
" [7., 9., 9., 8.]])" " [1., 1., 4., 5.]])"
] ]
}, },
"execution_count": 26, "execution_count": 26,
...@@ -644,12 +644,12 @@ ...@@ -644,12 +644,12 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"array([[2., 2.],\n", "array([[2., 9.],\n",
" [9., 4.],\n", " [8., 6.],\n",
" [6., 6.],\n", " [8., 4.],\n",
" [3., 6.],\n", " [2., 9.],\n",
" [7., 9.],\n", " [1., 1.],\n",
" [9., 8.]])" " [4., 5.]])"
] ]
}, },
"execution_count": 28, "execution_count": 28,
...@@ -669,10 +669,10 @@ ...@@ -669,10 +669,10 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"array([[2., 6., 7.],\n", "array([[2., 8., 1.],\n",
" [2., 6., 9.],\n", " [9., 4., 1.],\n",
" [9., 3., 9.],\n", " [8., 2., 4.],\n",
" [4., 6., 8.]])" " [6., 9., 5.]])"
] ]
}, },
"execution_count": 29, "execution_count": 29,
...@@ -735,9 +735,9 @@ ...@@ -735,9 +735,9 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"array([[2., 2., 9., 4.],\n", "array([[2., 9., 8., 6.],\n",
" [6., 6., 3., 6.],\n", " [8., 4., 2., 9.],\n",
" [7., 9., 9., 8.]])" " [1., 1., 4., 5.]])"
] ]
}, },
"execution_count": 32, "execution_count": 32,
...@@ -856,11 +856,11 @@ ...@@ -856,11 +856,11 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"a -0.192610\n", "a 1.085164\n",
"b 0.957230\n", "b 0.684054\n",
"c -0.917233\n", "c -3.137046\n",
"d 1.156523\n", "d -0.780916\n",
"e -0.539532\n", "e 0.497413\n",
"dtype: float64" "dtype: float64"
] ]
}, },
...@@ -882,11 +882,11 @@ ...@@ -882,11 +882,11 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"0 -0.856313\n", "0 -0.165303\n",
"1 -0.342923\n", "1 0.089697\n",
"2 -1.398583\n", "2 -1.680879\n",
"3 0.170869\n", "3 -0.160729\n",
"4 1.049196\n", "4 0.235082\n",
"dtype: float64" "dtype: float64"
] ]
}, },
...@@ -963,7 +963,7 @@ ...@@ -963,7 +963,7 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"-0.19261011238315226" "1.0851635954341003"
] ]
}, },
"execution_count": 40, "execution_count": 40,
...@@ -983,9 +983,9 @@ ...@@ -983,9 +983,9 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"a -0.192610\n", "a 1.085164\n",
"b 0.957230\n", "b 0.684054\n",
"c -0.917233\n", "c -3.137046\n",
"dtype: float64" "dtype: float64"
] ]
}, },
...@@ -1006,8 +1006,9 @@ ...@@ -1006,8 +1006,9 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"b 0.957230\n", "a 1.085164\n",
"d 1.156523\n", "b 0.684054\n",
"e 0.497413\n",
"dtype: float64" "dtype: float64"
] ]
}, },
...@@ -1028,11 +1029,11 @@ ...@@ -1028,11 +1029,11 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"a -0.385220\n", "a 2.170327\n",
"b 1.914460\n", "b 1.368108\n",
"c -1.834466\n", "c -6.274092\n",
"d 2.313046\n", "d -1.561832\n",
"e -1.079065\n", "e 0.994826\n",
"dtype: float64" "dtype: float64"
] ]
}, },
...@@ -1053,10 +1054,10 @@ ...@@ -1053,10 +1054,10 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"a False\n", "a True\n",
"b True\n", "b True\n",
"c False\n", "c False\n",
"d True\n", "d False\n",
"e False\n", "e False\n",
"dtype: bool" "dtype: bool"
] ]
...@@ -1078,7 +1079,7 @@ ...@@ -1078,7 +1079,7 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"-0.19261011238315226" "1.0851635954341003"
] ]
}, },
"execution_count": 45, "execution_count": 45,
...@@ -1221,7 +1222,7 @@ ...@@ -1221,7 +1222,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 51,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
...@@ -1231,7 +1232,7 @@ ...@@ -1231,7 +1232,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 52,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
...@@ -1241,7 +1242,7 @@ ...@@ -1241,7 +1242,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 53,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
...@@ -1250,7 +1251,7 @@ ...@@ -1250,7 +1251,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 7, "execution_count": 54,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -1317,7 +1318,7 @@ ...@@ -1317,7 +1318,7 @@
"x NaN 2.0" "x NaN 2.0"
] ]
}, },
"execution_count": 7, "execution_count": 54,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -1335,7 +1336,7 @@ ...@@ -1335,7 +1336,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 10, "execution_count": 55,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -1349,7 +1350,7 @@ ...@@ -1349,7 +1350,7 @@
"Name: one, dtype: float64" "Name: one, dtype: float64"
] ]
}, },
"execution_count": 10, "execution_count": 55,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -1360,7 +1361,7 @@ ...@@ -1360,7 +1361,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 11, "execution_count": 56,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -1439,7 +1440,7 @@ ...@@ -1439,7 +1440,7 @@
"x NaN 2.0 NaN False" "x NaN 2.0 NaN False"
] ]
}, },
"execution_count": 11, "execution_count": 56,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -1452,7 +1453,7 @@ ...@@ -1452,7 +1453,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 12, "execution_count": 57,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
...@@ -1461,7 +1462,7 @@ ...@@ -1461,7 +1462,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 13, "execution_count": 58,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
...@@ -1470,7 +1471,7 @@ ...@@ -1470,7 +1471,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 14, "execution_count": 59,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -1537,7 +1538,7 @@ ...@@ -1537,7 +1538,7 @@
"x NaN False" "x NaN False"
] ]
}, },
"execution_count": 14, "execution_count": 59,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -1548,7 +1549,7 @@ ...@@ -1548,7 +1549,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 16, "execution_count": 60,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -1574,7 +1575,6 @@ ...@@ -1574,7 +1575,6 @@
" <th></th>\n", " <th></th>\n",
" <th>one</th>\n", " <th>one</th>\n",
" <th>two</th>\n", " <th>two</th>\n",
" <th>three</th>\n",
" <th>flag</th>\n", " <th>flag</th>\n",
" </tr>\n", " </tr>\n",
" </thead>\n", " </thead>\n",
...@@ -1583,35 +1583,30 @@ ...@@ -1583,35 +1583,30 @@
" <th>a</th>\n", " <th>a</th>\n",
" <td>1.0</td>\n", " <td>1.0</td>\n",
" <td>1.0</td>\n", " <td>1.0</td>\n",
" <td>1.0</td>\n",
" <td>False</td>\n", " <td>False</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>b</th>\n", " <th>b</th>\n",
" <td>2.0</td>\n", " <td>2.0</td>\n",
" <td>NaN</td>\n", " <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>False</td>\n", " <td>False</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>c</th>\n", " <th>c</th>\n",
" <td>3.0</td>\n", " <td>3.0</td>\n",
" <td>9.0</td>\n", " <td>9.0</td>\n",
" <td>9.0</td>\n",
" <td>True</td>\n", " <td>True</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>d</th>\n", " <th>d</th>\n",
" <td>NaN</td>\n", " <td>NaN</td>\n",
" <td>NaN</td>\n", " <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>False</td>\n", " <td>False</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>x</th>\n", " <th>x</th>\n",
" <td>NaN</td>\n", " <td>NaN</td>\n",
" <td>NaN</td>\n", " <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>False</td>\n", " <td>False</td>\n",
" </tr>\n", " </tr>\n",
" </tbody>\n", " </tbody>\n",
...@@ -1619,15 +1614,15 @@ ...@@ -1619,15 +1614,15 @@
"</div>" "</div>"
], ],
"text/plain": [ "text/plain": [
" one two three flag\n", " one two flag\n",
"a 1.0 1.0 1.0 False\n", "a 1.0 1.0 False\n",
"b 2.0 NaN NaN False\n", "b 2.0 NaN False\n",
"c 3.0 9.0 9.0 True\n", "c 3.0 9.0 True\n",
"d NaN NaN NaN False\n", "d NaN NaN False\n",
"x NaN NaN NaN False" "x NaN NaN False"
] ]
}, },
"execution_count": 16, "execution_count": 60,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -1656,19 +1651,19 @@ ...@@ -1656,19 +1651,19 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 62, "execution_count": 61,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"one 1\n", "one 1\n",
"three 1\n", "two 1\n",
"flag False\n", "flag False\n",
"Name: a, dtype: object" "Name: a, dtype: object"
] ]
}, },
"execution_count": 62, "execution_count": 61,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -1679,19 +1674,19 @@ ...@@ -1679,19 +1674,19 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 63, "execution_count": 62,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"one 3\n", "one 3\n",
"three 9\n", "two 9\n",
"flag True\n", "flag True\n",
"Name: c, dtype: object" "Name: c, dtype: object"
] ]
}, },
"execution_count": 63, "execution_count": 62,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -1702,7 +1697,7 @@ ...@@ -1702,7 +1697,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 65, "execution_count": 63,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -1727,7 +1722,7 @@ ...@@ -1727,7 +1722,7 @@
" <tr style=\"text-align: right;\">\n", " <tr style=\"text-align: right;\">\n",
" <th></th>\n", " <th></th>\n",
" <th>one</th>\n", " <th>one</th>\n",
" <th>three</th>\n", " <th>two</th>\n",
" <th>flag</th>\n", " <th>flag</th>\n",
" </tr>\n", " </tr>\n",
" </thead>\n", " </thead>\n",
...@@ -1741,7 +1736,7 @@ ...@@ -1741,7 +1736,7 @@
" <tr>\n", " <tr>\n",
" <th>b</th>\n", " <th>b</th>\n",
" <td>2.0</td>\n", " <td>2.0</td>\n",
" <td>4.0</td>\n", " <td>NaN</td>\n",
" <td>False</td>\n", " <td>False</td>\n",
" </tr>\n", " </tr>\n",
" </tbody>\n", " </tbody>\n",
...@@ -1749,12 +1744,12 @@ ...@@ -1749,12 +1744,12 @@
"</div>" "</div>"
], ],
"text/plain": [ "text/plain": [
" one three flag\n", " one two flag\n",
"a 1.0 1.0 False\n", "a 1.0 1.0 False\n",
"b 2.0 4.0 False" "b 2.0 NaN False"
] ]
}, },
"execution_count": 65, "execution_count": 63,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -1768,12 +1763,12 @@ ...@@ -1768,12 +1763,12 @@
"metadata": {}, "metadata": {},
"source": [ "source": [
"## 5.4 Ejercicios\n", "## 5.4 Ejercicios\n",
"Los siguentes ejercicios de realizann con los dato de *iris.csv *" "Los siguentes ejercicios de realizann con los dato de *iris.csv*"
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 64,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -1858,7 +1853,7 @@ ...@@ -1858,7 +1853,7 @@
"4 5.0 3.6 1.4 0.2 setosa" "4 5.0 3.6 1.4 0.2 setosa"
] ]
}, },
"execution_count": 2, "execution_count": 64,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -1999,7 +1994,7 @@ ...@@ -1999,7 +1994,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.7.1" "version": "3.5.3"
} }
}, },
"nbformat": 4, "nbformat": 4,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment