diff --git a/01-intro.html b/01-intro.html index ac4eaa7fa..b28a2316a 100644 --- a/01-intro.html +++ b/01-intro.html @@ -650,7 +650,7 @@
Creates a substring from index 1 up to (not including) the final index, effectively removing the first and last letters from ‘oxygen’
@@ -1004,7 +1004,7 @@A ‘gotcha’ with array indexing is that singleton dimensions are
dropped by default. That means A[:, 0]
is a one dimensional
@@ -1150,7 +1150,7 @@
An alternative way to achieve the same result is to use Numpy’s delete function to remove the second column of A. If you’re not sure @@ -1233,7 +1233,7 @@
Since the row axis (0) is patients, it does not make sense to get the difference between two arbitrary patients. The column axis (1) is in @@ -1268,7 +1268,7 @@
The shape will be (60, 39)
because there is one fewer
difference between columns than there are columns in the data.
By using the numpy.amax()
function after you apply the
numpy.diff()
function, you will get the largest difference
diff --git a/04-lists.html b/04-lists.html
index 76ac720bb..a36dc3725 100644
--- a/04-lists.html
+++ b/04-lists.html
@@ -786,7 +786,7 @@
Use negative indices to count elements from the end of a container (such as list or string):
@@ -866,7 +866,7 @@To obtain every other character you need to provide a slice with the step size of 2:
@@ -957,7 +957,7 @@The multiplication operator *
used on a list replicates
elements of the list and concatenates them together:
print_message
SyntaxError
for missing ():
at end of first
line, IndentationError
for mismatch between second and
@@ -964,7 +964,7 @@
3 NameError
s for number
being misspelled,
for message
not defined, and for a
not being
@@ -1012,7 +1012,7 @@
IndexError
; the last entry is seasons[3]
,
so seasons[4]
doesn’t make sense. A fixed version is:
Creates a substring from index 1 up to (not including) the final index, effectively removing the first and last letters from ‘oxygen’
@@ -1475,7 +1475,7 @@A ‘gotcha’ with array indexing is that singleton dimensions are
dropped by default. That means A[:, 0]
is a one dimensional
@@ -1621,7 +1621,7 @@
An alternative way to achieve the same result is to use Numpy’s delete function to remove the second column of A. If you’re not sure @@ -1704,7 +1704,7 @@
Since the row axis (0) is patients, it does not make sense to get the difference between two arbitrary patients. The column axis (1) is in @@ -1739,7 +1739,7 @@
The shape will be (60, 39)
because there is one fewer
difference between columns than there are columns in the data.
By using the numpy.amax()
function after you apply the
numpy.diff()
function, you will get the largest difference
@@ -2710,7 +2710,7 @@
Use negative indices to count elements from the end of a container (such as list or string):
@@ -2790,7 +2790,7 @@To obtain every other character you need to provide a slice with the step size of 2:
@@ -2883,7 +2883,7 @@The multiplication operator *
used on a list replicates
elements of the list and concatenates them together:
SyntaxError
for missing ():
at end of first
line, IndentationError
for mismatch between second and
@@ -6144,7 +6144,7 @@
3 NameError
s for number
being misspelled,
for message
not defined, and for a
not being
@@ -6194,7 +6194,7 @@
IndexError
; the last entry is seasons[3]
,
so seasons[4]
doesn’t make sense. A fixed version is:
1. Navigate to the data
directory:
If you’re using a Unix shell application, such as Terminal app in macOS, Console or Terminal in Linux, or Git Bash on Windows, execute the @@ -531,7 +531,7 @@
On Windows, you can use its native Command Prompt program. The
easiest way to start it up is pressing Windows Logo
@@ -552,7 +552,7 @@
Unix shell
-BASH
@@ -571,7 +571,7 @@
Command Prompt (Windows)
-python -m notebook
PYTHON<
-
OUTPUT
@@ -691,7 +691,7 @@
PYTHON<
-