Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
tap1012
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
tap1012
Commits
ddb6fbf4
Commit
ddb6fbf4
authored
Feb 26, 2019
by
Mario Chirinos Colunga
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
7a771e13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
83 additions
and
88 deletions
+83
-88
05-NumPy&Pandas.ipynb
05-NumPy&Pandas.ipynb
+83
-88
No files found.
05-NumPy&Pandas.ipynb
View file @
ddb6fbf4
...
...
@@ -601,9 +601,9 @@
{
"data": {
"text/plain": [
"array([[2.,
2., 9., 4
.],\n",
" [
6., 6., 3., 6
.],\n",
" [
7., 9., 9., 8
.]])"
"array([[2.,
9., 8., 6
.],\n",
" [
8., 4., 2., 9
.],\n",
" [
1., 1., 4., 5
.]])"
]
},
"execution_count": 26,
...
...
@@ -644,12 +644,12 @@
{
"data": {
"text/plain": [
"array([[2.,
2
.],\n",
" [
9., 4
.],\n",
" [
6., 6
.],\n",
" [
3., 6
.],\n",
" [
7., 9
.],\n",
" [
9., 8
.]])"
"array([[2.,
9
.],\n",
" [
8., 6
.],\n",
" [
8., 4
.],\n",
" [
2., 9
.],\n",
" [
1., 1
.],\n",
" [
4., 5
.]])"
]
},
"execution_count": 28,
...
...
@@ -669,10 +669,10 @@
{
"data": {
"text/plain": [
"array([[2.,
6., 7
.],\n",
" [
2., 6., 9
.],\n",
" [
9., 3., 9
.],\n",
" [
4., 6., 8
.]])"
"array([[2.,
8., 1
.],\n",
" [
9., 4., 1
.],\n",
" [
8., 2., 4
.],\n",
" [
6., 9., 5
.]])"
]
},
"execution_count": 29,
...
...
@@ -735,9 +735,9 @@
{
"data": {
"text/plain": [
"array([[2.,
2., 9., 4
.],\n",
" [
6., 6., 3., 6
.],\n",
" [
7., 9., 9., 8
.]])"
"array([[2.,
9., 8., 6
.],\n",
" [
8., 4., 2., 9
.],\n",
" [
1., 1., 4., 5
.]])"
]
},
"execution_count": 32,
...
...
@@ -856,11 +856,11 @@
{
"data": {
"text/plain": [
"a
-0.192610
\n",
"b 0.
957230
\n",
"c -
0.917233
\n",
"d
1.156523
\n",
"e
-0.539532
\n",
"a
1.085164
\n",
"b 0.
684054
\n",
"c -
3.137046
\n",
"d
-0.780916
\n",
"e
0.497413
\n",
"dtype: float64"
]
},
...
...
@@ -882,11 +882,11 @@
{
"data": {
"text/plain": [
"0 -0.
85631
3\n",
"1
-0.342923
\n",
"2 -1.
398583
\n",
"3
0.17086
9\n",
"4
1.049196
\n",
"0 -0.
16530
3\n",
"1
0.089697
\n",
"2 -1.
680879
\n",
"3
-0.16072
9\n",
"4
0.235082
\n",
"dtype: float64"
]
},
...
...
@@ -963,7 +963,7 @@
{
"data": {
"text/plain": [
"
-0.19261011238315226
"
"
1.0851635954341003
"
]
},
"execution_count": 40,
...
...
@@ -983,9 +983,9 @@
{
"data": {
"text/plain": [
"a
-0.192610
\n",
"b 0.
957230
\n",
"c -
0.917233
\n",
"a
1.085164
\n",
"b 0.
684054
\n",
"c -
3.137046
\n",
"dtype: float64"
]
},
...
...
@@ -1006,8 +1006,9 @@
{
"data": {
"text/plain": [
"b 0.957230\n",
"d 1.156523\n",
"a 1.085164\n",
"b 0.684054\n",
"e 0.497413\n",
"dtype: float64"
]
},
...
...
@@ -1028,11 +1029,11 @@
{
"data": {
"text/plain": [
"a
-0.385220
\n",
"b 1.
914460
\n",
"c -
1.834466
\n",
"d
2.313046
\n",
"e
-1.079065
\n",
"a
2.170327
\n",
"b 1.
368108
\n",
"c -
6.274092
\n",
"d
-1.561832
\n",
"e
0.994826
\n",
"dtype: float64"
]
},
...
...
@@ -1053,10 +1054,10 @@
{
"data": {
"text/plain": [
"a
Fals
e\n",
"a
Tru
e\n",
"b True\n",
"c False\n",
"d
Tru
e\n",
"d
Fals
e\n",
"e False\n",
"dtype: bool"
]
...
...
@@ -1078,7 +1079,7 @@
{
"data": {
"text/plain": [
"
-0.19261011238315226
"
"
1.0851635954341003
"
]
},
"execution_count": 45,
...
...
@@ -1221,7 +1222,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count":
5
1,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -1231,7 +1232,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 5
2
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -1241,7 +1242,7 @@
},
{
"cell_type": "code",
"execution_count":
6
,
"execution_count":
53
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -1250,7 +1251,7 @@
},
{
"cell_type": "code",
"execution_count":
7
,
"execution_count":
54
,
"metadata": {},
"outputs": [
{
...
...
@@ -1317,7 +1318,7 @@
"x NaN 2.0"
]
},
"execution_count":
7
,
"execution_count":
54
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -1335,7 +1336,7 @@
},
{
"cell_type": "code",
"execution_count":
10
,
"execution_count":
55
,
"metadata": {},
"outputs": [
{
...
...
@@ -1349,7 +1350,7 @@
"Name: one, dtype: float64"
]
},
"execution_count":
10
,
"execution_count":
55
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -1360,7 +1361,7 @@
},
{
"cell_type": "code",
"execution_count":
11
,
"execution_count":
56
,
"metadata": {},
"outputs": [
{
...
...
@@ -1439,7 +1440,7 @@
"x NaN 2.0 NaN False"
]
},
"execution_count":
11
,
"execution_count":
56
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -1452,7 +1453,7 @@
},
{
"cell_type": "code",
"execution_count":
12
,
"execution_count":
57
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -1461,7 +1462,7 @@
},
{
"cell_type": "code",
"execution_count":
13
,
"execution_count":
58
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -1470,7 +1471,7 @@
},
{
"cell_type": "code",
"execution_count":
14
,
"execution_count":
59
,
"metadata": {},
"outputs": [
{
...
...
@@ -1537,7 +1538,7 @@
"x NaN False"
]
},
"execution_count":
14
,
"execution_count":
59
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -1548,7 +1549,7 @@
},
{
"cell_type": "code",
"execution_count":
16
,
"execution_count":
60
,
"metadata": {},
"outputs": [
{
...
...
@@ -1574,7 +1575,6 @@
" <th></th>\n",
" <th>one</th>\n",
" <th>two</th>\n",
" <th>three</th>\n",
" <th>flag</th>\n",
" </tr>\n",
" </thead>\n",
...
...
@@ -1583,35 +1583,30 @@
" <th>a</th>\n",
" <td>1.0</td>\n",
" <td>1.0</td>\n",
" <td>1.0</td>\n",
" <td>False</td>\n",
" </tr>\n",
" <tr>\n",
" <th>b</th>\n",
" <td>2.0</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>False</td>\n",
" </tr>\n",
" <tr>\n",
" <th>c</th>\n",
" <td>3.0</td>\n",
" <td>9.0</td>\n",
" <td>9.0</td>\n",
" <td>True</td>\n",
" </tr>\n",
" <tr>\n",
" <th>d</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>False</td>\n",
" </tr>\n",
" <tr>\n",
" <th>x</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>False</td>\n",
" </tr>\n",
" </tbody>\n",
...
...
@@ -1619,15 +1614,15 @@
"</div>"
],
"text/plain": [
" one two
three
flag\n",
"a 1.0 1.0
1.0
False\n",
"b 2.0 NaN
NaN
False\n",
"c 3.0 9.0
9.0
True\n",
"d NaN NaN
NaN
False\n",
"x NaN NaN
NaN
False"
" one two flag\n",
"a 1.0 1.0 False\n",
"b 2.0 NaN False\n",
"c 3.0 9.0 True\n",
"d NaN NaN False\n",
"x NaN NaN False"
]
},
"execution_count":
16
,
"execution_count":
60
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -1656,19 +1651,19 @@
},
{
"cell_type": "code",
"execution_count": 6
2
,
"execution_count": 6
1
,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"one
1\n",
"t
hree
1\n",
"flag
False\n",
"one 1\n",
"t
wo
1\n",
"flag False\n",
"Name: a, dtype: object"
]
},
"execution_count": 6
2
,
"execution_count": 6
1
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -1679,19 +1674,19 @@
},
{
"cell_type": "code",
"execution_count": 6
3
,
"execution_count": 6
2
,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"one
3\n",
"t
hree
9\n",
"flag
True\n",
"one 3\n",
"t
wo
9\n",
"flag True\n",
"Name: c, dtype: object"
]
},
"execution_count": 6
3
,
"execution_count": 6
2
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -1702,7 +1697,7 @@
},
{
"cell_type": "code",
"execution_count": 6
5
,
"execution_count": 6
3
,
"metadata": {},
"outputs": [
{
...
...
@@ -1727,7 +1722,7 @@
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>one</th>\n",
" <th>t
hree
</th>\n",
" <th>t
wo
</th>\n",
" <th>flag</th>\n",
" </tr>\n",
" </thead>\n",
...
...
@@ -1741,7 +1736,7 @@
" <tr>\n",
" <th>b</th>\n",
" <td>2.0</td>\n",
" <td>
4.0
</td>\n",
" <td>
NaN
</td>\n",
" <td>False</td>\n",
" </tr>\n",
" </tbody>\n",
...
...
@@ -1749,12 +1744,12 @@
"</div>"
],
"text/plain": [
" one t
hree
flag\n",
"a 1.0
1.0 False\n",
"b 2.0
4.0
False"
" one t
wo
flag\n",
"a 1.0 1.0 False\n",
"b 2.0
NaN
False"
]
},
"execution_count": 6
5
,
"execution_count": 6
3
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -1768,12 +1763,12 @@
"metadata": {},
"source": [
"## 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",
"execution_count":
2
,
"execution_count":
64
,
"metadata": {},
"outputs": [
{
...
...
@@ -1858,7 +1853,7 @@
"4 5.0 3.6 1.4 0.2 setosa"
]
},
"execution_count":
2
,
"execution_count":
64
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -1999,7 +1994,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.
7.1
"
"version": "3.
5.3
"
}
},
"nbformat": 4,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment