diff options
author | Shantanu Choudhary | 2009-12-22 14:10:37 +0530 |
---|---|---|
committer | Shantanu Choudhary | 2009-12-22 14:10:37 +0530 |
commit | 534604c38b300b6b419362c487cbf779e7f76ea8 (patch) | |
tree | 1521217ba931f93a96ad98c3019110c89a720b8a /day1/cheatsheet3.tex | |
parent | b902fbdf147a74f1c38b6f00208d753e7021e4ae (diff) | |
download | workshops-534604c38b300b6b419362c487cbf779e7f76ea8.tar.gz workshops-534604c38b300b6b419362c487cbf779e7f76ea8.tar.bz2 workshops-534604c38b300b6b419362c487cbf779e7f76ea8.zip |
commited changes made for scipy and cheatsheats.
Diffstat (limited to 'day1/cheatsheet3.tex')
-rwxr-xr-x | day1/cheatsheet3.tex | 4 |
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} |