diff options
author | Puneeth Chaganti | 2009-10-28 15:46:21 +0530 |
---|---|---|
committer | Puneeth Chaganti | 2009-10-28 15:46:21 +0530 |
commit | 59ff411333b7e73b3253210c8fb8fe30cf510305 (patch) | |
tree | 511236646168531d5a2b20b04682d219a75f9c15 /day1/session3.tex | |
parent | 9a82414d19f7be403ac491bac0efa980814d0748 (diff) | |
parent | 493822563e409a8c518c6bc13ef8d46b0446631b (diff) | |
download | workshops-59ff411333b7e73b3253210c8fb8fe30cf510305.tar.gz workshops-59ff411333b7e73b3253210c8fb8fe30cf510305.tar.bz2 workshops-59ff411333b7e73b3253210c8fb8fe30cf510305.zip |
Merged with mainline.
Diffstat (limited to 'day1/session3.tex')
-rw-r--r-- | day1/session3.tex | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/day1/session3.tex b/day1/session3.tex index e5622c3..ae0eea2 100644 --- a/day1/session3.tex +++ b/day1/session3.tex @@ -317,30 +317,14 @@ from pylab import pie 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(';') |