Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
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
0
Merge Requests
0
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
39781cc7cca0dc30af9d6060ede9947c
mooc-rr
Commits
43bea101
Commit
43bea101
authored
Apr 01, 2020
by
39781cc7cca0dc30af9d6060ede9947c
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ajout de la fonction round
parent
c1eb94c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
exercice.ipynb
module2/exo2/exercice.ipynb
+13
-13
No files found.
module2/exo2/exercice.ipynb
View file @
43bea101
...
...
@@ -67,23 +67,23 @@
},
{
"cell_type": "code",
"execution_count":
7
,
"execution_count":
12
,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"4.33
4094455301447
"
"4.33"
]
},
"execution_count":
7
,
"execution_count":
12
,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"std = np.std(data, ddof=1)\n",
"
std
"
"
round(std, 2)
"
]
},
{
...
...
@@ -95,7 +95,7 @@
},
{
"cell_type": "code",
"execution_count":
8
,
"execution_count":
11
,
"metadata": {},
"outputs": [
{
...
...
@@ -104,14 +104,14 @@
"2.8"
]
},
"execution_count":
8
,
"execution_count":
11
,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"min = np.min(data)\n",
"
min
"
"
round(min, 2)
"
]
},
{
...
...
@@ -123,7 +123,7 @@
},
{
"cell_type": "code",
"execution_count":
9
,
"execution_count":
13
,
"metadata": {},
"outputs": [
{
...
...
@@ -132,14 +132,14 @@
"23.4"
]
},
"execution_count":
9
,
"execution_count":
13
,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"max = np.max(data)\n",
"
max
"
"
round(max, 2)
"
]
},
{
...
...
@@ -151,7 +151,7 @@
},
{
"cell_type": "code",
"execution_count": 1
0
,
"execution_count": 1
4
,
"metadata": {},
"outputs": [
{
...
...
@@ -160,14 +160,14 @@
"14.5"
]
},
"execution_count": 1
0
,
"execution_count": 1
4
,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"median = np.median(data)\n",
"
median
"
"
round(median, 2)
"
]
},
{
...
...
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