The Checklist below is designed to help you recap on the Python topics covered at level 4 (KD4014).
Your personal checklist is generated below. You can also interact with me, choochoo-bot, using commands in this thread.
To list all possible choochoo commands type choochoo list commands in comment box below.
1) - [x] Create a new Jupyter Notebook |
2) - [x] Save and download a Jupyter Notebook |
3) - [x] Create Markdown cells in a Jupyter Notebook |
4) - [x] Run Python code in a Jupyter Notebook |
5) - [x] Create in-line code comments using # |
9) - [x] Explain the difference between integers and floats |
10) - [x] Explain the difference between numeric values and strings |
11) - [x] Convert between numbers and strings |
12) - [x] Round a number to a specified number of decimal places |
13) - [x] Use help() or ? (in Jupyter Notebooks) to access help documentation for a function |
14) - [x] Descrive the difference between syntax errors and runtime errors |
15) - [x] Create a Python list |
16) - [x] Find the length of a list |
17) - [x] Fetch an item from a list using list indexing |
18) - [x] Fetch multiple item from a list using list slicing |
19) - [x] Replace an item in a list with a new value |
20) - [x] Identify the iterable, dummy variable and loop body in a For loop |
21) - [x] Use a For loop to repeat a basic programming task |
22) - [x] Use range to iterate over a sequence of numbers |
23) - [x] Use if to control whether a block of code is executed |
24) - [x] Combine a for loop and an if loop to implement a basic programming task |
25) - [x] Use a combination of if, elif and else to implement a basic programming task |
26) - [x] Test if a combination of things are true using and or or. |
32) - [x] Read in data from a text file |
33) - [x] Describe the difference between Numpy arrays and Python lists |
34) - [x] Write a Numpy array to a text file |
35) - [x] Create a one-dimensional Numpy array with zero-values |
36) - [x] Create a two-dimensional Numpy array with zero-values |
37) - [x] Create a one-dimensional Numpy array with pre-defined values |
38) - [x] Create a Numpy array with evenly spaced numbers over a given interval |
39) - [x] Create a Numpy array with evenly spaced numbers over a given interval in logspace |
40) - [x] Combine the enumerate function with a for loop to populate a Numpy array |
41) - [x] Use array indexing to select a single element from a 2D array |
42) - [x] Use array slicing to select a column of a 2D array |
43) - [x] Use array slicing to select a row of a 2D array |
44) - [x] Generate a basic line plot |
45) - [x] Generate a basic scatter plot |
46) - [x] Label the plot with an x-axis label, y-axis label and title |
47) - [x] Create a plot legend |
48) - [x] Use a figure and subplots to group similar plots |
49) - [x] Save a plot as a .png file |
50) - [ ] Use the least-squares method to fit a polynomial function to data |
51) - [ ] Plot the polynomial fit alongside the raw data for comparison |
52) - [ ] Use Numpy array operations to perform mathematical operations across an array |
53) - [ ] Use Numpy functions e.g. mean, max, min or round across one or more array axes. |
54) - [ ] Plot the uncertainty associated with a measurement using an errorbar |
Hello Student :wave:
Welcome to Choochoo the checklist tool! :train:
The Checklist below is designed to help you recap on the Python topics covered at level 4 (KD4014).
Your personal checklist is generated below. You can also interact with me, choochoo-bot, using commands in this thread. To list all possible choochoo commands type
choochoo list commands
in comment box below.Running Python | links |
1) - [x] Create a new Jupyter Notebook |
2) - [x] Save and download a Jupyter Notebook |
3) - [x] Create Markdown cells in a Jupyter Notebook |
4) - [x] Run Python code in a Jupyter Notebook |
5) - [x] Create in-line code comments using
#
|Variables and Assignment | links |
6) - [x] Use variables to store values |
7) - [x] Use
print
to display values |8) - [x] Use meaningful variable names |
Data Types and Type Conversion | links |
9) - [x] Explain the difference between integers and floats |
10) - [x] Explain the difference between numeric values and strings |
11) - [x] Convert between numbers and strings |
Built-in Functions, Help and Errors | links |
12) - [x] Round a number to a specified number of decimal places |
13) - [x] Use
help()
or?
(in Jupyter Notebooks) to access help documentation for a function |14) - [x] Descrive the difference between syntax errors and runtime errors |
Lists | links |
15) - [x] Create a Python list |
16) - [x] Find the length of a list |
17) - [x] Fetch an item from a list using list indexing |
18) - [x] Fetch multiple item from a list using list slicing |
19) - [x] Replace an item in a list with a new value |
For Loops | links |
20) - [x] Identify the iterable, dummy variable and loop body in a For loop |
21) - [x] Use a For loop to repeat a basic programming task |
22) - [x] Use range to iterate over a sequence of numbers |
Conditionals | links |
23) - [x] Use
if
to control whether a block of code is executed |24) - [x] Combine a
for
loop and anif
loop to implement a basic programming task |25) - [x] Use a combination of
if
,elif
andelse
to implement a basic programming task |26) - [x] Test if a combination of things are true using
and
oror
. |Writing Functions | links |
27) - [x] Define a simple function that returns a value |
28) - [x] Call a custom-made function |
Variable scope | links |
29) - [x] Explain the difference between local and global variables |
Libraries | links |
30) - [x] Import a library |
31) - [x] Import a library using an alias (nickname) |
Storing data in Numpy arrays | links |
32) - [x] Read in data from a text file |
33) - [x] Describe the difference between Numpy arrays and Python lists |
34) - [x] Write a Numpy array to a text file |
35) - [x] Create a one-dimensional Numpy array with zero-values |
36) - [x] Create a two-dimensional Numpy array with zero-values |
37) - [x] Create a one-dimensional Numpy array with pre-defined values |
38) - [x] Create a Numpy array with evenly spaced numbers over a given interval |
39) - [x] Create a Numpy array with evenly spaced numbers over a given interval in logspace |
40) - [x] Combine the enumerate function with a
for
loop to populate a Numpy array |Retrieving data from Numpy arrays | links |
41) - [x] Use array indexing to select a single element from a 2D array |
42) - [x] Use array slicing to select a column of a 2D array |
43) - [x] Use array slicing to select a row of a 2D array |
Visualizing data with Matplotlib | links |
44) - [x] Generate a basic line plot |
45) - [x] Generate a basic scatter plot |
46) - [x] Label the plot with an x-axis label, y-axis label and title |
47) - [x] Create a plot legend |
48) - [x] Use a figure and subplots to group similar plots |
49) - [x] Save a plot as a
.png
file |Analysing data using Numpy | links |
50) - [ ] Use the least-squares method to fit a polynomial function to data |
51) - [ ] Plot the polynomial fit alongside the raw data for comparison |
52) - [ ] Use Numpy array operations to perform mathematical operations across an array |
53) - [ ] Use Numpy functions e.g.
mean
,max
,min
orround
across one or more array axes. |54) - [ ] Plot the uncertainty associated with a measurement using an errorbar |
Code Quality | links |
55) - [ ] Use assertions to check for internal errors |
56) - [ ] Write docstrings to provide help messages |
57) - [ ] Print package version numbers to increase code reproducibility |
58) - [ ] Re-factor code to reduce code repetition and remove redundant code |