Skip to content

Commit b8e2ac4

Browse files
committed
Adding changed files
1 parent 869b8b4 commit b8e2ac4

100 files changed

Lines changed: 326953 additions & 16 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Week_0_python/b_tutorial_strings_edit_search.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@
284284
],
285285
"metadata": {
286286
"kernelspec": {
287-
"display_name": "Python 3",
287+
"display_name": "Python 3 (ipykernel)",
288288
"language": "python",
289289
"name": "python3"
290290
},
@@ -298,7 +298,7 @@
298298
"name": "python",
299299
"nbconvert_exporter": "python",
300300
"pygments_lexer": "ipython3",
301-
"version": "3.7.4"
301+
"version": "3.11.5"
302302
}
303303
},
304304
"nbformat": 4,

Week_0_python/c_practice_strings.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@
442442
],
443443
"metadata": {
444444
"kernelspec": {
445-
"display_name": "Python 3",
445+
"display_name": "Python 3 (ipykernel)",
446446
"language": "python",
447447
"name": "python3"
448448
},
@@ -456,7 +456,7 @@
456456
"name": "python",
457457
"nbconvert_exporter": "python",
458458
"pygments_lexer": "ipython3",
459-
"version": "3.7.4"
459+
"version": "3.11.5"
460460
}
461461
},
462462
"nbformat": 4,

Week_0_python/f_tutorial_dictionary.ipynb

Lines changed: 41 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
},
4444
{
4545
"cell_type": "code",
46-
"execution_count": null,
46+
"execution_count": 1,
4747
"metadata": {},
4848
"outputs": [],
4949
"source": [
@@ -52,7 +52,7 @@
5252
},
5353
{
5454
"cell_type": "code",
55-
"execution_count": null,
55+
"execution_count": 2,
5656
"metadata": {},
5757
"outputs": [],
5858
"source": [
@@ -62,7 +62,7 @@
6262
},
6363
{
6464
"cell_type": "code",
65-
"execution_count": null,
65+
"execution_count": 3,
6666
"metadata": {},
6767
"outputs": [],
6868
"source": [
@@ -77,9 +77,22 @@
7777
},
7878
{
7979
"cell_type": "code",
80-
"execution_count": null,
80+
"execution_count": 4,
8181
"metadata": {},
82-
"outputs": [],
82+
"outputs": [
83+
{
84+
"name": "stdout",
85+
"output_type": "stream",
86+
"text": [
87+
"My dictionary:\n",
88+
" {'Data': array([442.16441153, 452.59212637, 390.30313461, 67.82492728,\n",
89+
" 376.21984205, 414.16615953, 453.52754296, 243.11081923,\n",
90+
" 420.51883898, 431.49123652, 385.32237165, 51.98104781,\n",
91+
" 205.06966285, 383.8989826 , 161.82066127, 453.33362064,\n",
92+
" 82.05730611, 479.5225805 , 63.27486875, 368.78270896]), 'Name': 'Cool name', 'Mean': 316.3491425107721, 'Sum': 6326.982850215441, 'Accessed': 0, 'Date': '3/11/2022'}\n"
93+
]
94+
}
95+
],
8396
"source": [
8497
"# What does this look like if I print it out?\n",
8598
"# Note that prints out pretty much with the same format you make it in\n",
@@ -88,7 +101,7 @@
88101
},
89102
{
90103
"cell_type": "code",
91-
"execution_count": null,
104+
"execution_count": 5,
92105
"metadata": {},
93106
"outputs": [],
94107
"source": [
@@ -98,9 +111,17 @@
98111
},
99112
{
100113
"cell_type": "code",
101-
"execution_count": null,
114+
"execution_count": 6,
102115
"metadata": {},
103-
"outputs": [],
116+
"outputs": [
117+
{
118+
"name": "stdout",
119+
"output_type": "stream",
120+
"text": [
121+
"Sum is in the dictionary, value 6326.982850215441\n"
122+
]
123+
}
124+
],
104125
"source": [
105126
"# You can check if a key is in the dictionary like this\n",
106127
"if \"Sum\" in my_dict:\n",
@@ -109,9 +130,17 @@
109130
},
110131
{
111132
"cell_type": "code",
112-
"execution_count": null,
133+
"execution_count": 8,
113134
"metadata": {},
114-
"outputs": [],
135+
"outputs": [
136+
{
137+
"name": "stdout",
138+
"output_type": "stream",
139+
"text": [
140+
"Found sum, value 6326.982850215441\n"
141+
]
142+
}
143+
],
115144
"source": [
116145
"# [For illustration purposes only - do not do this] Loop through all the keys and see if one of them is Sum\n",
117146
"for k in my_dict.keys():\n",
@@ -377,7 +406,7 @@
377406
],
378407
"metadata": {
379408
"kernelspec": {
380-
"display_name": "Python 3",
409+
"display_name": "Python 3 (ipykernel)",
381410
"language": "python",
382411
"name": "python3"
383412
},
@@ -391,7 +420,7 @@
391420
"name": "python",
392421
"nbconvert_exporter": "python",
393422
"pygments_lexer": "ipython3",
394-
"version": "3.7.4"
423+
"version": "3.11.5"
395424
}
396425
},
397426
"nbformat": 4,

0 commit comments

Comments
 (0)