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
8d53fc3d1862140011f63ba5f84a5830
mooc-rr
Commits
aac8f1a3
Commit
aac8f1a3
authored
Apr 10, 2020
by
8d53fc3d1862140011f63ba5f84a5830
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit both ipynb and html ?
parent
bdcde6aa
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13339 additions
and
3 deletions
+13339
-3
speel_schrijfboekje.html
module2/exo1/speel_schrijfboekje.html
+13281
-0
speel_schrijfboekje.ipynb
module2/exo1/speel_schrijfboekje.ipynb
+58
-3
No files found.
module2/exo1/speel_schrijfboekje.html
0 → 100644
View file @
aac8f1a3
This diff is collapsed.
Click to expand it.
module2/exo1/speel_schrijfboekje.ipynb
View file @
aac8f1a3
...
...
@@ -23,13 +23,15 @@
"name": "stdout",
"output_type": "stream",
"text": [
"3.1415\n"
"3.1415\n",
"4.141500000000001\n"
]
}
],
"source": [
"x =3.1415\n",
"print(x)"
"print(x)\n",
"print(x+1)"
]
},
{
...
...
@@ -72,8 +74,61 @@
"hidePrompt": false
},
"source": [
"Dit is een doodgewone tekst over de contante `e` met waarde {{y}}"
"Dit is een doodgewone tekst over de con
s
tante `e` met waarde {{y}}"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"ename": "ModuleNotFoundError",
"evalue": "No module named 'pydataset'",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
"\u001b[0;32m<ipython-input-3-4a7513b8eb8a>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0;32mfrom\u001b[0m \u001b[0mpydataset\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mdata\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 2\u001b[0m \u001b[0mquakes\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mdata\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'quakes'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0mquakes\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mhead\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0mquakes\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtail\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'pydataset'"
]
}
],
"source": [
"from pydataset import data\n",
"quakes = data('quakes')\n",
"quakes.head()\n",
"quakes.tail()"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import os\n",
"\n",
"os.system('jupyter nbconvert --to html speel_schrijfboekje.ipynb')"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
...
...
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