Skip to content

Commit 4bc8b14

Browse files
committed
Rework the intro section of notebooks
1 parent 1bfa553 commit 4bc8b14

24 files changed

+348
-83
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,7 @@ I look forward to connecting with you! 🏃‍♂️
144144

145145
This project is licensed under the **[Apache License 2.0](./LICENSE)**.
146146
You are free to **use**, **modify**, and **distribute** this code, but you **must** include copies of both the [**LICENSE**](./LICENSE) and [**NOTICE**](./NOTICE) files in any distribution of your work.
147+
148+
### ©️ Copyright Information
149+
150+
- The images located in the [**assets/images/numpy/**](./assets/images/numpy/) folder are sourced from the [**NumPy press kit / website resources**](https://numpy.org/press-kit/) and are licensed under the [**BSD 3-Clause License**](https://numpy.org/devdocs/license.html).

assets/images/numpy/ATTRIBUTION.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Image Attribution
2+
3+
Images in this folder are sourced from the NumPy project:
4+
5+
- Source: <https://numpy.org/press-kit/>
6+
- Copyright: NumPy Developers
7+
- License: BSD 3-Clause License
8+
- Full license: <https://numpy.org/devdocs/license.html>
Lines changed: 1 addition & 0 deletions
Loading

code/01-array-basics.ipynb

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,21 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"📝 **Author:** Amirhossein Heydari - 📧 **Email:** <amirhosseinheydari78@gmail.com> - 📍 **Origin:** [mr-pylin/numpy-workshop](https://github.com/mr-pylin/numpy-workshop)\n",
8-
"\n",
9-
"---\n"
7+
"<div style=\"display: flex; justify-content: space-between; align-items: center;\">\n",
8+
" <div style=\"text-align: left; flex: 4\">\n",
9+
" <strong>Author:</strong> Amirhossein Heydari — \n",
10+
" 📧 <a href=\"mailto:amirhosseinheydari78@gmail.com\">amirhosseinheydari78@gmail.com</a> — \n",
11+
" 🐙 <a href=\"https://github.com/mr-pylin/numpy-workshop\" target=\"_blank\" rel=\"noopener\">github.com/mr-pylin</a>\n",
12+
" </div>\n",
13+
" <div style=\"text-align: right; flex: 1;\">\n",
14+
" <a href=\"https://numpy.org/\" target=\"_blank\" rel=\"noopener noreferrer\">\n",
15+
" <img src=\"../assets/images/numpy/logo/numpylogo.svg\" \n",
16+
" alt=\"NumPy Logo\"\n",
17+
" style=\"max-height: 48px; width: auto;\">\n",
18+
" </a>\n",
19+
" </div>\n",
20+
"</div>\n",
21+
"<hr>\n"
1022
]
1123
},
1224
{
@@ -278,4 +290,4 @@
278290
},
279291
"nbformat": 4,
280292
"nbformat_minor": 2
281-
}
293+
}

code/02-arithmetic-operations.ipynb

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,21 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"📝 **Author:** Amirhossein Heydari - 📧 **Email:** <amirhosseinheydari78@gmail.com> - 📍 **Origin:** [mr-pylin/numpy-workshop](https://github.com/mr-pylin/numpy-workshop)\n",
8-
"\n",
9-
"---\n"
7+
"<div style=\"display: flex; justify-content: space-between; align-items: center;\">\n",
8+
" <div style=\"text-align: left; flex: 4\">\n",
9+
" <strong>Author:</strong> Amirhossein Heydari — \n",
10+
" 📧 <a href=\"mailto:amirhosseinheydari78@gmail.com\">amirhosseinheydari78@gmail.com</a> — \n",
11+
" 🐙 <a href=\"https://github.com/mr-pylin/numpy-workshop\" target=\"_blank\" rel=\"noopener\">github.com/mr-pylin</a>\n",
12+
" </div>\n",
13+
" <div style=\"text-align: right; flex: 1;\">\n",
14+
" <a href=\"https://numpy.org/\" target=\"_blank\" rel=\"noopener noreferrer\">\n",
15+
" <img src=\"../assets/images/numpy/logo/numpylogo.svg\" \n",
16+
" alt=\"NumPy Logo\"\n",
17+
" style=\"max-height: 48px; width: auto;\">\n",
18+
" </a>\n",
19+
" </div>\n",
20+
"</div>\n",
21+
"<hr>\n"
1022
]
1123
},
1224
{
@@ -233,4 +245,4 @@
233245
},
234246
"nbformat": 4,
235247
"nbformat_minor": 2
236-
}
248+
}

code/03-comparative-operations.ipynb

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,21 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"📝 **Author:** Amirhossein Heydari - 📧 **Email:** <amirhosseinheydari78@gmail.com> - 📍 **Origin:** [mr-pylin/numpy-workshop](https://github.com/mr-pylin/numpy-workshop)\n",
8-
"\n",
9-
"---\n"
7+
"<div style=\"display: flex; justify-content: space-between; align-items: center;\">\n",
8+
" <div style=\"text-align: left; flex: 4\">\n",
9+
" <strong>Author:</strong> Amirhossein Heydari — \n",
10+
" 📧 <a href=\"mailto:amirhosseinheydari78@gmail.com\">amirhosseinheydari78@gmail.com</a> — \n",
11+
" 🐙 <a href=\"https://github.com/mr-pylin/numpy-workshop\" target=\"_blank\" rel=\"noopener\">github.com/mr-pylin</a>\n",
12+
" </div>\n",
13+
" <div style=\"text-align: right; flex: 1;\">\n",
14+
" <a href=\"https://numpy.org/\" target=\"_blank\" rel=\"noopener noreferrer\">\n",
15+
" <img src=\"../assets/images/numpy/logo/numpylogo.svg\" \n",
16+
" alt=\"NumPy Logo\"\n",
17+
" style=\"max-height: 48px; width: auto;\">\n",
18+
" </a>\n",
19+
" </div>\n",
20+
"</div>\n",
21+
"<hr>\n"
1022
]
1123
},
1224
{
@@ -229,4 +241,4 @@
229241
},
230242
"nbformat": 4,
231243
"nbformat_minor": 2
232-
}
244+
}

code/04-index-&-slice.ipynb

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,21 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"📝 **Author:** Amirhossein Heydari - 📧 **Email:** <amirhosseinheydari78@gmail.com> - 📍 **Origin:** [mr-pylin/numpy-workshop](https://github.com/mr-pylin/numpy-workshop)\n",
8-
"\n",
9-
"---\n"
7+
"<div style=\"display: flex; justify-content: space-between; align-items: center;\">\n",
8+
" <div style=\"text-align: left; flex: 4\">\n",
9+
" <strong>Author:</strong> Amirhossein Heydari — \n",
10+
" 📧 <a href=\"mailto:amirhosseinheydari78@gmail.com\">amirhosseinheydari78@gmail.com</a> — \n",
11+
" 🐙 <a href=\"https://github.com/mr-pylin/numpy-workshop\" target=\"_blank\" rel=\"noopener\">github.com/mr-pylin</a>\n",
12+
" </div>\n",
13+
" <div style=\"text-align: right; flex: 1;\">\n",
14+
" <a href=\"https://numpy.org/\" target=\"_blank\" rel=\"noopener noreferrer\">\n",
15+
" <img src=\"../assets/images/numpy/logo/numpylogo.svg\" \n",
16+
" alt=\"NumPy Logo\"\n",
17+
" style=\"max-height: 48px; width: auto;\">\n",
18+
" </a>\n",
19+
" </div>\n",
20+
"</div>\n",
21+
"<hr>\n"
1022
]
1123
},
1224
{
@@ -531,4 +543,4 @@
531543
},
532544
"nbformat": 4,
533545
"nbformat_minor": 2
534-
}
546+
}

code/05-axes.ipynb

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,21 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"📝 **Author:** Amirhossein Heydari - 📧 **Email:** <amirhosseinheydari78@gmail.com> - 📍 **Origin:** [mr-pylin/numpy-workshop](https://github.com/mr-pylin/numpy-workshop)\n",
8-
"\n",
9-
"---\n"
7+
"<div style=\"display: flex; justify-content: space-between; align-items: center;\">\n",
8+
" <div style=\"text-align: left; flex: 4\">\n",
9+
" <strong>Author:</strong> Amirhossein Heydari — \n",
10+
" 📧 <a href=\"mailto:amirhosseinheydari78@gmail.com\">amirhosseinheydari78@gmail.com</a> — \n",
11+
" 🐙 <a href=\"https://github.com/mr-pylin/numpy-workshop\" target=\"_blank\" rel=\"noopener\">github.com/mr-pylin</a>\n",
12+
" </div>\n",
13+
" <div style=\"text-align: right; flex: 1;\">\n",
14+
" <a href=\"https://numpy.org/\" target=\"_blank\" rel=\"noopener noreferrer\">\n",
15+
" <img src=\"../assets/images/numpy/logo/numpylogo.svg\" \n",
16+
" alt=\"NumPy Logo\"\n",
17+
" style=\"max-height: 48px; width: auto;\">\n",
18+
" </a>\n",
19+
" </div>\n",
20+
"</div>\n",
21+
"<hr>\n"
1022
]
1123
},
1224
{
@@ -298,4 +310,4 @@
298310
},
299311
"nbformat": 4,
300312
"nbformat_minor": 2
301-
}
313+
}

code/06-array-manipulations.ipynb

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,21 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"📝 **Author:** Amirhossein Heydari - 📧 **Email:** <amirhosseinheydari78@gmail.com> - 📍 **Origin:** [mr-pylin/numpy-workshop](https://github.com/mr-pylin/numpy-workshop)\n",
8-
"\n",
9-
"---\n"
7+
"<div style=\"display: flex; justify-content: space-between; align-items: center;\">\n",
8+
" <div style=\"text-align: left; flex: 4\">\n",
9+
" <strong>Author:</strong> Amirhossein Heydari — \n",
10+
" 📧 <a href=\"mailto:amirhosseinheydari78@gmail.com\">amirhosseinheydari78@gmail.com</a> — \n",
11+
" 🐙 <a href=\"https://github.com/mr-pylin/numpy-workshop\" target=\"_blank\" rel=\"noopener\">github.com/mr-pylin</a>\n",
12+
" </div>\n",
13+
" <div style=\"text-align: right; flex: 1;\">\n",
14+
" <a href=\"https://numpy.org/\" target=\"_blank\" rel=\"noopener noreferrer\">\n",
15+
" <img src=\"../assets/images/numpy/logo/numpylogo.svg\" \n",
16+
" alt=\"NumPy Logo\"\n",
17+
" style=\"max-height: 48px; width: auto;\">\n",
18+
" </a>\n",
19+
" </div>\n",
20+
"</div>\n",
21+
"<hr>\n"
1022
]
1123
},
1224
{
@@ -1480,4 +1492,4 @@
14801492
},
14811493
"nbformat": 4,
14821494
"nbformat_minor": 2
1483-
}
1495+
}

code/07-ndarray-members.ipynb

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,21 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"📝 **Author:** Amirhossein Heydari - 📧 **Email:** <amirhosseinheydari78@gmail.com> - 📍 **Origin:** [mr-pylin/numpy-workshop](https://github.com/mr-pylin/numpy-workshop)\n",
8-
"\n",
9-
"---\n"
7+
"<div style=\"display: flex; justify-content: space-between; align-items: center;\">\n",
8+
" <div style=\"text-align: left; flex: 4\">\n",
9+
" <strong>Author:</strong> Amirhossein Heydari — \n",
10+
" 📧 <a href=\"mailto:amirhosseinheydari78@gmail.com\">amirhosseinheydari78@gmail.com</a> — \n",
11+
" 🐙 <a href=\"https://github.com/mr-pylin/numpy-workshop\" target=\"_blank\" rel=\"noopener\">github.com/mr-pylin</a>\n",
12+
" </div>\n",
13+
" <div style=\"text-align: right; flex: 1;\">\n",
14+
" <a href=\"https://numpy.org/\" target=\"_blank\" rel=\"noopener noreferrer\">\n",
15+
" <img src=\"../assets/images/numpy/logo/numpylogo.svg\" \n",
16+
" alt=\"NumPy Logo\"\n",
17+
" style=\"max-height: 48px; width: auto;\">\n",
18+
" </a>\n",
19+
" </div>\n",
20+
"</div>\n",
21+
"<hr>\n"
1022
]
1123
},
1224
{
@@ -1224,4 +1236,4 @@
12241236
},
12251237
"nbformat": 4,
12261238
"nbformat_minor": 2
1227-
}
1239+
}

0 commit comments

Comments
 (0)