Rework the introduction on numpy

- expand section on indexing and slicing in Chapter 1 on arrays
- add section on dimensionality and shapes of arrays
- streamline text in Chapter 1
- include thumbnails in links to scientific libraries
- add explanation on slicing to core Python introduction
  and adjust the list example
- streamline some text and titles in Chapter 0
This commit is contained in:
Alexander Hess 2021-10-04 13:55:07 +02:00
commit 46e8b9e174
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
8 changed files with 1576 additions and 720 deletions

View file

@ -29,7 +29,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## User-defined Functions"
"## Defining Functions"
]
},
{
@ -151,7 +151,7 @@
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
"\u001b[0;32m/tmp/user/1000/ipykernel_305654/1049141082.py\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mresult\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[0;32m/tmp/user/1000/ipykernel_707190/1049141082.py\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mresult\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[0;31mNameError\u001b[0m: name 'result' is not defined"
]
}
@ -393,7 +393,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Extending Core Python with the Standard Library"
"## The Standard Library"
]
},
{
@ -429,7 +429,7 @@
{
"data": {
"text/plain": [
"0.44374384200665107"
"0.7021021034327006"
]
},
"execution_count": 16,