--- a/statistics-script Sun Apr 11 02:59:46 2010 +0530
+++ b/statistics-script Sun Apr 11 03:07:55 2010 +0530
@@ -4,6 +4,7 @@
We used 'for' loops and lists to get data in the desired format.
IPython -Pylab also provides a function called 'loadtxt' that can get us the same data in the desired format without much hustle.
+We shall use the same pendulum.txt file that we used in the previous session.
We know that, pendulum.txt contains two columns, with length being first and time period is second column, so to get both columns in two separate variables we type
l, t = loadtxt('pendulum.txt', unpack=True)