diff options
author | Jovina | 2011-08-02 12:58:08 +0530 |
---|---|---|
committer | Jovina | 2011-08-02 12:58:08 +0530 |
commit | 4fb4c7f41d00de1d383d0d3f25384cca2a74043f (patch) | |
tree | dd4fcec874d162c7d35415875a0af974fbe53dc8 /accessing_parts_of_arrays | |
parent | 4d2ec5b5b96ac3da95d8b7245376e5b6694dfb9e (diff) | |
download | st-scripts-4fb4c7f41d00de1d383d0d3f25384cca2a74043f.tar.gz st-scripts-4fb4c7f41d00de1d383d0d3f25384cca2a74043f.tar.bz2 st-scripts-4fb4c7f41d00de1d383d0d3f25384cca2a74043f.zip |
Minor changes to scripts in 4th module.
Diffstat (limited to 'accessing_parts_of_arrays')
-rw-r--r-- | accessing_parts_of_arrays/script.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/accessing_parts_of_arrays/script.rst b/accessing_parts_of_arrays/script.rst index aeb1938..48ed2e9 100644 --- a/accessing_parts_of_arrays/script.rst +++ b/accessing_parts_of_arrays/script.rst @@ -60,14 +60,14 @@ At the end of this tutorial, you will be able to, Before beginning this tutorial,we would suggest you to complete the tutorial on "Getting started with arrays". - -.. L4 - -{{{ Open the terminal }}} .. R4 As usual, we start IPython, using + +.. L4 + +{{{ Open the terminal }}} :: ipython -pylab @@ -211,7 +211,7 @@ just one particular element. We access the third column by saying, .. L16 :: - C[:, 2] + C[:, 2] .. R17 @@ -225,12 +225,12 @@ Pause the video here, try out the following exercise and resume the video. .. R18 - Change the last column of C to zeroes. + Change the last column of C to zeros. .. R19 Switch to the terminal for solution.To change the entire last column of -C to zeroes, we simply say, +C to zeros, we simply say, .. L19 |