summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPuneeth Chaganti2010-10-08 11:31:01 +0530
committerPuneeth Chaganti2010-10-08 11:31:01 +0530
commitb75471c3ce39fbb224bdcf8aca3f5406c1b0cb5c (patch)
treea86fe6cbb22224867451dc0a9308a7469b61db57
parentea90c8c20fd8c716436e39e2a7d0b825817ee3e0 (diff)
downloadst-scripts-b75471c3ce39fbb224bdcf8aca3f5406c1b0cb5c.tar.gz
st-scripts-b75471c3ce39fbb224bdcf8aca3f5406c1b0cb5c.tar.bz2
st-scripts-b75471c3ce39fbb224bdcf8aca3f5406c1b0cb5c.zip
Added questions to loading data from files LO.
-rw-r--r--loading-data-from-files/script.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/loading-data-from-files/script.rst b/loading-data-from-files/script.rst
index e92eb5d..ff4ce19 100644
--- a/loading-data-from-files/script.rst
+++ b/loading-data-from-files/script.rst
@@ -81,7 +81,8 @@ about them, later.
Now, let us use the ``loadtxt`` command to read a file that contains
two columns of data, ``pendulum.txt``. This file contains the length
of the pendulum in the first column and the corresponding time period
-in the second.
+in the second. Note that ``loadtxt`` needs both the columns to have
+equal number of rows.
.. Following is an exercise that you must do.
@@ -139,9 +140,8 @@ separate sequences instead of one complex sequence.
In this tutorial, we have learnt the basic use of the ``loadtxt``
command, which is capable of doing a lot more than we have used it for
-until now, for example
-
-Following is an exercise that you must do.
+until now. Let us look at an example, but before that do this
+exercise.
%%1%% Read the file ``pendulum_semicolon.txt`` which contains the same
data as ``pendulum.txt``, but the columns are separated by semi-colons