diff options
author | Jovina | 2011-07-27 17:34:14 +0530 |
---|---|---|
committer | Jovina | 2011-07-27 17:34:14 +0530 |
commit | b5f77a98731894b82d81be423a584a979df5a734 (patch) | |
tree | f0691addf8749be4bd599ed389f3f40daa871b23 | |
parent | 7115a52508ea7aa4373b6ddeadc7ea355b63c7ab (diff) | |
download | st-scripts-b5f77a98731894b82d81be423a584a979df5a734.tar.gz st-scripts-b5f77a98731894b82d81be423a584a979df5a734.tar.bz2 st-scripts-b5f77a98731894b82d81be423a584a979df5a734.zip |
Minor changes to script of "loading data from files".
-rw-r--r-- | loading_data_from_files/script.rst | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/loading_data_from_files/script.rst b/loading_data_from_files/script.rst index b0d3245..9508a1d 100644 --- a/loading_data_from_files/script.rst +++ b/loading_data_from_files/script.rst @@ -222,6 +222,8 @@ we have learnt to, .. R18 +Here are some self assessment questions for you to solve + 1. ``loadtxt`` can read data from a file with one column only. True or False? @@ -243,15 +245,15 @@ And the answers, 1. False. ``loadtxt`` command can read data from files having both single columns as well as multiple columns. -2. A file with three columns of data seperated by spaces to be read into - 3 seperate sequences, +2. A file with three columns of data separated by spaces to be read into + 3 separate sequences, we use the loadtxt command as, :: x = loadtxt("data.txt", unpack=True) -3. If a file with three columns of data seperated by delimiters,we read - it into three seperate sequences by using an additional argument of +3. If a file with three columns of data separated by delimiters,we read + it into three separate sequences by using an additional argument of delimiter in the loadtxt command :: @@ -259,7 +261,7 @@ And the answers, .. L20 -{{{ Show the Thankyou slide }}} +{{{ Show the Thank you slide }}} .. R20 |