summaryrefslogtreecommitdiff
path: root/day1/cheatsheet3.tex
diff options
context:
space:
mode:
authorMadhusudan.C.S2009-12-29 19:25:11 +0530
committerMadhusudan.C.S2009-12-29 19:25:11 +0530
commitf38b9113f14dfe1421cddfaf938759408bb43eea (patch)
treeb56c4d36777394e8472dc8df0c4cb113f5ab6f6e /day1/cheatsheet3.tex
parent4921db12e2b0ba6d59cea1619afd791c9e20033f (diff)
parent20f85fd6a02c29533c92c631aac2ebaba69fd82e (diff)
downloadworkshops-more-scipy-f38b9113f14dfe1421cddfaf938759408bb43eea.tar.gz
workshops-more-scipy-f38b9113f14dfe1421cddfaf938759408bb43eea.tar.bz2
workshops-more-scipy-f38b9113f14dfe1421cddfaf938759408bb43eea.zip
Merged the branches.
Diffstat (limited to 'day1/cheatsheet3.tex')
-rwxr-xr-xday1/cheatsheet3.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/day1/cheatsheet3.tex b/day1/cheatsheet3.tex
index db50de3..244cb86 100755
--- a/day1/cheatsheet3.tex
+++ b/day1/cheatsheet3.tex
@@ -69,7 +69,7 @@ Drawing Pie Charts
\begin{lstlisting}
In []: pie(science.values(), labels=science.keys())
\end{lstlisting}
-Numpy Arrays
+Arrays
\begin{lstlisting}
In []: a = array([1, 2, 3]) #Creating
In []: b = array([4, 5, 6])
@@ -77,7 +77,7 @@ In []: a + b #Sum; Element-wise
\end{lstlisting}
Numpy statistical operations
\begin{lstlisting}
-In []: mean(math_scores)
+In []: mean(math_scores)
In []: median(math_scores)
In []: std(math_scores)
\end{lstlisting}