Skip to content

Commit 1960cd4

Browse files
author
Quarto GHA Workflow Runner
committed
Built site for gh-pages
1 parent 7e11dde commit 1960cd4

4 files changed

Lines changed: 28 additions & 28 deletions

File tree

.nojekyll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
690b2a78
1+
f011b4fc

lab_builtin_for_the_win.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ <h2 data-number="8.1" class="anchored" data-anchor-id="exercises-1"><span class=
635635
<span id="cb2-5"><a href="#cb2-5" aria-hidden="true" tabindex="-1"></a> <span class="st">"rewards"</span>: some<span class="op">-</span>value,</span>
636636
<span id="cb2-6"><a href="#cb2-6" aria-hidden="true" tabindex="-1"></a>}</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
637637
<ol start="6" type="1">
638-
<li>Sort the list of dictionaries according to the rewards value.</li>
638+
<li>Sort the list of dictionaries according to the rewards value . Hint: Discard missing reward values.</li>
639639
<li>Repeat the same but in descendant order (larger values first).</li>
640640
<li>Make a list of the unique “trial_type” values that appear in the data.</li>
641641
<li>Make a dictionary that counts the number of appearances of each “trial_type”.</li>

search.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@
394394
"href": "lab_builtin_for_the_win.html#exercises-1",
395395
"title": "8  Lab: Built-in for the Win",
396396
"section": "",
397-
"text": "Copy the data into a python file\nTraverse and print the lines. Hint: Look at strings methods\nMake a list of all the lines\nSplit each line into a tuple of 4 elements (representing onset, duration, trial_type and rewards)\nDo the same but with dictionaries, that is, for each line you should get a dictionary that looks like this\n\n{\n \"onset\": some-value,\n \"duration\": some-value,\n \"trial_type\": some-value,\n \"rewards\": some-value,\n}\n\nSort the list of dictionaries according to the rewards value.\nRepeat the same but in descendant order (larger values first).\nMake a list of the unique “trial_type” values that appear in the data.\nMake a dictionary that counts the number of appearances of each “trial_type”.\nMake a list of only the entries where “trial_type” is of type “decision_SOMETHING”\nPrint for each line a string that follows this pattern:\n\n\"For the trial type: &lt;TRIAL-TYPE&gt; the reward is &lt;REWARD-VALUE&gt;\"\n\nWrite a function called cleanup that takes the raw input string and returns a list of dictionaries (like exercise item 5)",
397+
"text": "Copy the data into a python file\nTraverse and print the lines. Hint: Look at strings methods\nMake a list of all the lines\nSplit each line into a tuple of 4 elements (representing onset, duration, trial_type and rewards)\nDo the same but with dictionaries, that is, for each line you should get a dictionary that looks like this\n\n{\n \"onset\": some-value,\n \"duration\": some-value,\n \"trial_type\": some-value,\n \"rewards\": some-value,\n}\n\nSort the list of dictionaries according to the rewards value . Hint: Discard missing reward values.\nRepeat the same but in descendant order (larger values first).\nMake a list of the unique “trial_type” values that appear in the data.\nMake a dictionary that counts the number of appearances of each “trial_type”.\nMake a list of only the entries where “trial_type” is of type “decision_SOMETHING”\nPrint for each line a string that follows this pattern:\n\n\"For the trial type: &lt;TRIAL-TYPE&gt; the reward is &lt;REWARD-VALUE&gt;\"\n\nWrite a function called cleanup that takes the raw input string and returns a list of dictionaries (like exercise item 5)",
398398
"crumbs": [
399399
"<span class='chapter-number'>8</span>  <span class='chapter-title'>Lab: Built-in for the Win</span>"
400400
]

sitemap.xml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,102 +2,102 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://fabridamicelli.github.io/python-course/index.html</loc>
5-
<lastmod>2025-11-02T11:36:59.408Z</lastmod>
5+
<lastmod>2025-11-03T12:02:27.486Z</lastmod>
66
</url>
77
<url>
88
<loc>https://fabridamicelli.github.io/python-course/01_1_getting_started.html</loc>
9-
<lastmod>2025-11-02T11:36:59.402Z</lastmod>
9+
<lastmod>2025-11-03T12:02:27.481Z</lastmod>
1010
</url>
1111
<url>
1212
<loc>https://fabridamicelli.github.io/python-course/01_2_executing_code.html</loc>
13-
<lastmod>2025-11-02T11:36:59.403Z</lastmod>
13+
<lastmod>2025-11-03T12:02:27.481Z</lastmod>
1414
</url>
1515
<url>
1616
<loc>https://fabridamicelli.github.io/python-course/02_types_data_structures.html</loc>
17-
<lastmod>2025-11-02T11:36:59.403Z</lastmod>
17+
<lastmod>2025-11-03T12:02:27.481Z</lastmod>
1818
</url>
1919
<url>
2020
<loc>https://fabridamicelli.github.io/python-course/03_1_flow_control.html</loc>
21-
<lastmod>2025-11-02T11:36:59.403Z</lastmod>
21+
<lastmod>2025-11-03T12:02:27.481Z</lastmod>
2222
</url>
2323
<url>
2424
<loc>https://fabridamicelli.github.io/python-course/03_2_error_handling.html</loc>
25-
<lastmod>2025-11-02T11:36:59.403Z</lastmod>
25+
<lastmod>2025-11-03T12:02:27.481Z</lastmod>
2626
</url>
2727
<url>
2828
<loc>https://fabridamicelli.github.io/python-course/04_functions.html</loc>
29-
<lastmod>2025-11-02T11:36:59.403Z</lastmod>
29+
<lastmod>2025-11-03T12:02:27.482Z</lastmod>
3030
</url>
3131
<url>
3232
<loc>https://fabridamicelli.github.io/python-course/05_comprehensions.html</loc>
33-
<lastmod>2025-11-02T11:36:59.403Z</lastmod>
33+
<lastmod>2025-11-03T12:02:27.482Z</lastmod>
3434
</url>
3535
<url>
3636
<loc>https://fabridamicelli.github.io/python-course/lab_builtin_for_the_win.html</loc>
37-
<lastmod>2025-11-02T11:36:59.408Z</lastmod>
37+
<lastmod>2025-11-03T12:02:27.487Z</lastmod>
3838
</url>
3939
<url>
4040
<loc>https://fabridamicelli.github.io/python-course/06_imports.html</loc>
41-
<lastmod>2025-11-02T11:36:59.404Z</lastmod>
41+
<lastmod>2025-11-03T12:02:27.482Z</lastmod>
4242
</url>
4343
<url>
4444
<loc>https://fabridamicelli.github.io/python-course/061_dependencies.html</loc>
45-
<lastmod>2025-11-02T11:36:59.404Z</lastmod>
45+
<lastmod>2025-11-03T12:02:27.482Z</lastmod>
4646
</url>
4747
<url>
4848
<loc>https://fabridamicelli.github.io/python-course/062_read_and_write.html</loc>
49-
<lastmod>2025-11-02T11:36:59.404Z</lastmod>
49+
<lastmod>2025-11-03T12:02:27.482Z</lastmod>
5050
</url>
5151
<url>
5252
<loc>https://fabridamicelli.github.io/python-course/063_common_data_formats.html</loc>
53-
<lastmod>2025-11-02T11:36:59.404Z</lastmod>
53+
<lastmod>2025-11-03T12:02:27.482Z</lastmod>
5454
</url>
5555
<url>
5656
<loc>https://fabridamicelli.github.io/python-course/051_oop.html</loc>
57-
<lastmod>2025-11-02T11:36:59.403Z</lastmod>
57+
<lastmod>2025-11-03T12:02:27.482Z</lastmod>
5858
</url>
5959
<url>
6060
<loc>https://fabridamicelli.github.io/python-course/08_numpy.html</loc>
61-
<lastmod>2025-11-02T11:36:59.404Z</lastmod>
61+
<lastmod>2025-11-03T12:02:27.482Z</lastmod>
6262
</url>
6363
<url>
6464
<loc>https://fabridamicelli.github.io/python-course/081_pandas.html</loc>
65-
<lastmod>2025-11-02T11:36:59.404Z</lastmod>
65+
<lastmod>2025-11-03T12:02:27.482Z</lastmod>
6666
</url>
6767
<url>
6868
<loc>https://fabridamicelli.github.io/python-course/09_plotting.html</loc>
69-
<lastmod>2025-11-02T11:36:59.407Z</lastmod>
69+
<lastmod>2025-11-03T12:02:27.485Z</lastmod>
7070
</url>
7171
<url>
7272
<loc>https://fabridamicelli.github.io/python-course/10_tests.html</loc>
73-
<lastmod>2025-11-02T11:36:59.407Z</lastmod>
73+
<lastmod>2025-11-03T12:02:27.485Z</lastmod>
7474
</url>
7575
<url>
7676
<loc>https://fabridamicelli.github.io/python-course/11_cli.html</loc>
77-
<lastmod>2025-11-02T11:36:59.407Z</lastmod>
77+
<lastmod>2025-11-03T12:02:27.485Z</lastmod>
7878
</url>
7979
<url>
8080
<loc>https://fabridamicelli.github.io/python-course/111_debugging.html</loc>
81-
<lastmod>2025-11-02T11:36:59.407Z</lastmod>
81+
<lastmod>2025-11-03T12:02:27.485Z</lastmod>
8282
</url>
8383
<url>
8484
<loc>https://fabridamicelli.github.io/python-course/13_tools.html</loc>
85-
<lastmod>2025-11-02T11:36:59.407Z</lastmod>
85+
<lastmod>2025-11-03T12:02:27.485Z</lastmod>
8686
</url>
8787
<url>
8888
<loc>https://fabridamicelli.github.io/python-course/lab_explore_data_exercises.html</loc>
89-
<lastmod>2025-11-02T11:36:59.408Z</lastmod>
89+
<lastmod>2025-11-03T12:02:27.487Z</lastmod>
9090
</url>
9191
<url>
9292
<loc>https://fabridamicelli.github.io/python-course/notebook_workflow.html</loc>
93-
<lastmod>2025-11-02T11:36:59.411Z</lastmod>
93+
<lastmod>2025-11-03T12:02:27.490Z</lastmod>
9494
</url>
9595
<url>
9696
<loc>https://fabridamicelli.github.io/python-course/999_glossary.html</loc>
97-
<lastmod>2025-11-02T11:36:59.407Z</lastmod>
97+
<lastmod>2025-11-03T12:02:27.485Z</lastmod>
9898
</url>
9999
<url>
100100
<loc>https://fabridamicelli.github.io/python-course/references.html</loc>
101-
<lastmod>2025-11-02T11:36:59.411Z</lastmod>
101+
<lastmod>2025-11-03T12:02:27.490Z</lastmod>
102102
</url>
103103
</urlset>

0 commit comments

Comments
 (0)