diff options
Diffstat (limited to 'day1')
-rw-r--r-- | day1/day1quiz1.tex | 16 | ||||
-rw-r--r-- | day1/session1.tex | 92 | ||||
-rw-r--r-- | day1/session4.tex | 2 |
3 files changed, 55 insertions, 55 deletions
diff --git a/day1/day1quiz1.tex b/day1/day1quiz1.tex index 75801f9..339ef5b 100644 --- a/day1/day1quiz1.tex +++ b/day1/day1quiz1.tex @@ -209,13 +209,13 @@ Given the above marks, how will you calculate the \alert{mean}?%% and %% \alert{standard deviation}? \end{frame} -%% \begin{frame}[fragile] -%% \frametitle{\incqno } -%% \begin{lstlisting} -%% In []: marks = [10, 20, 30, 50, 55, -%% 75, 83] -%% \end{lstlisting} -%% How will you convert the list \texttt{marks} to an \alert{array}? -%% \end{frame} +\begin{frame}[fragile] +\frametitle{\incqno } +\begin{lstlisting} +In []: marks = [10, 20, 30, 50, 55, + 75, 83] +\end{lstlisting} +How will you convert the list \texttt{marks} to an \alert{array}? +\end{frame} \end{document} diff --git a/day1/session1.tex b/day1/session1.tex index 4f4177c..9e482ef 100644 --- a/day1/session1.tex +++ b/day1/session1.tex @@ -125,27 +125,27 @@ \begin{frame} \frametitle{Workshop Schedule: Day 1} \begin{description} - \item[Session 1] Mon 09:00--10:00 - \item[Session 2] Mon 10:05--11:05 - \item[Session 3] Mon 11:20--12:20 - \item[Session 4] Mon 12:25--13:25 - \item[Quiz 1] Mon 14:25--14:45 - \item[Exercises] Mon 14:45--15:30 - \item[Session 5] Mon 15:45--16:45 - \item[Quiz 2] Mon 16:50--17:05 + \item[Session 1] Fri 09:00--10:00 + \item[Session 2] Fri 10:05--11:05 + \item[Session 3] Fri 11:20--12:20 + \item[Session 4] Fri 12:25--13:25 + \item[Quiz 1] Fri 14:25--14:45 + \item[Exercises] Fri 14:45--15:30 + \item[Session 5] Fri 15:45--16:45 + \item[Quiz 2] Fri 16:50--17:05 \end{description} \end{frame} \begin{frame} \frametitle{Workshop Schedule: Day 2} \begin{description} - \item[Session 1] Tue 09:00--10:00 - \item[Session 2] Tue 10:05--11:05 - \item[Session 3] Tue 11:20--12:20 - \item[Session 4] Tue 12:25--13:25 - \item[Quiz 1] Tue 14:25--14:45 - \item[Exercises] Tue 14:45--15:30 - \item[Session 5] Tue 15:45--16:45 + \item[Session 1] Sat 09:00--10:00 + \item[Session 2] Sat 10:05--11:05 + \item[Session 3] Sat 11:20--12:20 + \item[Session 4] Sat 12:25--13:25 + \item[Quiz 1] Sat 14:25--14:45 + \item[Exercises] Sat 14:45--15:30 + \item[Session 5] Sat 15:45--16:45 \end{description} \end{frame} @@ -194,30 +194,30 @@ \end{block} \end{frame} -\begin{frame}[fragile] -\frametitle{The Python interpreter \ldots} -\begin{block}{} -\begin{lstlisting} - $ python -\end{lstlisting} %$ -\end{block} -\begin{lstlisting} - >>> print "Hello, World!" - Hello, World! -\end{lstlisting} -Exiting -\begin{lstlisting} - >>> ^D(Ctrl-D) - $ -\end{lstlisting} %$ -\end{frame} +%% \begin{frame}[fragile] +%% \frametitle{The Python interpreter \ldots} +%% \begin{block}{} +%% \begin{lstlisting} +%% $ python +%% \end{lstlisting} %$ +%% \end{block} +%% \begin{lstlisting} +%% >>> print "Hello, World!" +%% Hello, World! +%% \end{lstlisting} +%% Exiting +%% \begin{lstlisting} +%% >>> ^D(Ctrl-D) +%% $ +%% \end{lstlisting} %$ +%% \end{frame} \section{Starting up Ipython} \begin{frame}[fragile] \frametitle{Starting up \ldots} \begin{block}{} \begin{lstlisting} - $ ipython + $ ipython -pylab \end{lstlisting} %$ \end{block} \begin{lstlisting} @@ -232,19 +232,19 @@ Exiting An alternative to IPython is bpython \end{frame} -\section{Ipython with magic} -\begin{frame}[fragile] -\frametitle{Let the magic begin \ldots} -\begin{itemize} -\item \alert{IPython is an improved interpreter}\\ -\item \alert{Recommended for Scientific and Computing work}\\ -\end{itemize} -\begin{block}{} -\begin{lstlisting} - $ ipython -pylab -\end{lstlisting} %$ -\end{block} -\end{frame} +%% \section{Ipython with magic} +%% \begin{frame}[fragile] +%% \frametitle{Let the magic begin \ldots} +%% \begin{itemize} +%% \item \alert{IPython is an improved interpreter}\\ +%% \item \alert{Recommended for Scientific and Computing work}\\ +%% \end{itemize} +%% \begin{block}{} +%% \begin{lstlisting} +%% $ ipython -pylab +%% \end{lstlisting} %$ +%% \end{block} +%% \end{frame} \section{Loops} \begin{frame}[fragile] diff --git a/day1/session4.tex b/day1/session4.tex index b39b5fd..b0ddb5c 100644 --- a/day1/session4.tex +++ b/day1/session4.tex @@ -134,7 +134,7 @@ \begin{frame}[fragile] \frametitle{Matrices: Initializing} \begin{lstlisting} -In [23]: c = array([[11,12,13], +In []: c = array([[11,12,13], [21,22,23], [31,32,33]]) |