day1/session3.tex
changeset 225 a83f7be6f16c
parent 216 c6704d4a18bd
child 229 5541c47bc2e8
--- a/day1/session3.tex	Wed Oct 28 15:45:57 2009 +0530
+++ b/day1/session3.tex	Wed Oct 28 15:46:21 2009 +0530
@@ -317,30 +317,14 @@
 from scipy import mean, median, std
 from scipy import stats
 
-scores = [[]] * 5
-ninety_percents = [{}] * 5
+scores = [[], [], [], [], []]
+ninety_percents = [{}, {}, {}, {}, {}]
   \end{lstlisting}
 \end{frame}
 
 \begin{frame}[fragile]
   \frametitle{Building data for all subjects \ldots}
   \begin{lstlisting}
-from pylab import pie
-from scipy import mean, median, std
-from scipy import stats
-  \end{lstlisting}
-
-  \begin{block}{Repeating list items}
-    \begin{lstlisting}
-scores = [[]] * 5
-ninety_percents = [{}] * 5
-    \end{lstlisting}
-  \end{block}
-\end{frame}
-
-\begin{frame}[fragile]
-  \frametitle{Building data for all subjects \ldots}
-  \begin{lstlisting}
 for record in open('sslc1.txt'):
     record = record.strip()
     fields = record.split(';')