Index
A
- abs function / Time for action – doing simple statistics
- accumulate method / Time for action – applying the ufunc methods on add
- add function
- ufuncs methods, applying on / Time for action – applying the ufunc methods on add
- annotate function / Legend and annotations
- annotations
- about / Legend and annotations, Time for action – using legend and annotations, What just happened?
- crossover points, finding / Time for action – using legend and annotations
- crossover points, annotating / Time for action – using legend and annotations
- annualized volatility
- apply_along_axis function / Time for action – summarizing data, What just happened?
- arange function / Time for action – adding vectors, Online resources and help, NumPy array object, What just happened?, Time for action – slicing and indexing multidimensional arrays, Time weighted average price, Time for action – fitting to polynomials, What just happened?, Time for action – using searchsorted, Time for action – extracting elements from an array
- Arch Linux
- argmax function / What just happened?, Time for action – fitting to polynomials, Searching
- argmin function / What just happened?, Time for action – fitting to polynomials, Searching
- argsort function / Sorting
- argwhere function / Searching
- arithmetic functions
- about / Arithmetic functions
- divide / Time for action – dividing arrays
- true_divide function / Time for action – dividing arrays
- floor_divide function / Time for action – dividing arrays
- / operator / Time for action – dividing arrays
- // operator / Time for action – dividing arrays
- array
- elements, extracting from / Time for action – extracting elements from an array
- array attributes, NumPy
- about / Array attributes
- ndim / Array attributes
- size / Array attributes
- itemsize / Array attributes
- nbytes / Array attributes
- T / Array attributes
- .j / Array attributes
- real / Array attributes
- imag / Array attributes
- flat / Array attributes
- array function / What just happened?, Selecting elements
- array objects
- about / NumPy array object
- arrays
- creating / Time for action – slicing and indexing multidimensional arrays
- reshaping / Time for action – slicing and indexing multidimensional arrays
- splitting / Time for action – splitting arrays
- converting, to list / Time for action – converting arrays, What just happened?
- compressing / Methods of ndarray, What just happened?
- clipping / Methods of ndarray, What just happened?
- matrices, creating from / Time for action – creating matrices
- dividing / Time for action – dividing arrays, What just happened?
- approximately equal arrays, asserting / Time for action – asserting approximately equal, What just happened?
- almost equal arrays, asserting / Time for action – asserting arrays almost equal, What just happened?
- equal arrays, asserting / Equal arrays, What just happened?
- comparing / Time for action – comparing arrays, What just happened?
- ordering / Time for action – checking the array order, What just happened?
- array shapes
- manipulating / Time for action – manipulating array shapes
- array_allclose function / Equal arrays, What just happened?
- array_almost_equal function / What just happened?
- array_equal function / Time for action – comparing arrays
- assert functions
- assert_almost_equal / Assert functions
- assert_approx_equal / Assert functions
- assert_array_almost_equal / Assert functions
- assert_array_equal / Assert functions
- assert_array_less / Assert functions
- assert_equal / Assert functions
- assert_raises / Assert functions
- assert_warns / Assert functions
- assert_string_equal / Assert functions
- assert_almost_equal function / Assert functions, Time for action – asserting almost equal, What just happened?
- assert_approx_equal function / Assert functions, Approximately equal arrays, What just happened?
- assert_array_almost_equal function / Assert functions, Almost equal arrays
- assert_array_almost_equal_nulp
- floating point, comparing / Time for action – comparing with assert_array_almost_equal_nulp, What just happened?
- assert_array_almost_equal_nulp function / Floating point comparisons, Time for action – comparing with assert_array_almost_equal_nulp
- assert_array_equal function / Assert functions, Equal arrays
- assert_array_less function / Assert functions, Ordering arrays, Time for action – checking the array order, What just happened?
- assert_array_max_ulp function / Floating point comparisons, Comparison of floats with more ULPs
- assert_equal function / Assert functions, Objects comparison, What just happened?
- assert_raises function / Assert functions
- assert_string_equal function / Assert functions, String comparison, What just happened?
- assert_warns function / Assert functions
- astype function / Time for action – converting arrays, Time for action – determining the mode of stock returns
- atol parameter / Equal arrays
- ATR
- about / Average true range
- calculating / Time for action – calculating the average true range
- average function / What just happened?
B
- 2-by-2 identity matrix
- 2-by-2 matrix
- creating / Selecting elements
- about / Identity matrix creation
- 3-by-3 matrix
- creating / Have a go hero – create a 3-by-3 matrix
- bartlett function / Time for action – plotting the Bartlett window, What just happened?
- bartlett window
- Bartlett window
- calculating / Time for action – plotting the Bartlett window
- BHP / Time for action – trading correlated pairs
- binomial
- gambling with / Time for action – gambling with the binomial, What just happened?
- binomial function / Time for action – gambling with the binomial, What just happened?
- bitwise functions
- bitwise_xor function / Time for action – twiddling bits
- blackman function / Blackman window, Time for action – smoothing stock prices with the Blackman window, What just happened?
- Blackman window
- about / Blackman window
- stock prices, smoothing with / Time for action – smoothing stock prices with the Blackman window, What just happened?
- plotting / Time for action – smoothing stock prices with the Blackman window
- bmat function / Matrices, Creating a matrix from other matrices, What just happened?
- Bollinger bands
- about / Bollinger bands
- enveloping with / Time for action – enveloping with Bollinger bands, What just happened?
- bool type / NumPy numerical types
C
- calc_profit function / Time for action – avoiding loops with vectorize
- character code / Time for action – summarizing data
- character codes
- about / Character codes
- clip method / Time for action – clipping and compressing arrays
- column stacking / Time for action – stacking arrays
- column_stack function / Time for action – stacking arrays
- comparison functions
- complex64 type / NumPy numerical types
- complex128 type / NumPy numerical types
- complex numbers
- about / Array attributes, Complex numbers
- sorting / Time for action – sorting complex numbers, What just happened?
- array, creating / Time for action – sorting complex numbers, What just happened?
- complex type / NumPy numerical types
- compound matrix
- compress function / What just happened?
- concatenate function / Time for action – stacking arrays
- continuous distributions
- about / Continuous distributions
- converter function / Time for action – dealing with dates
- convolve function / Time for action – computing the simple moving average, What just happened?, Time for action – calculating the exponential moving average
- corrcoef function / Time for action – trading correlated pairs, What just happened?
- correlated pairs
- correlation
- about / Correlation
- computing, for stock returns / Time for action – trading correlated pairs, What just happened?
- correlation coefficient
- covariance
- cov function / Time for action – trading correlated pairs
- CSV files
- about / CSV files
- data, loading from / Time for action – loading from CSV files
- cumprod function / Time for action – calculating the factorial, What just happened?
D
- data
- about / File I/O
- loading, from CSV files / Time for action – loading from CSV files
- summarizing / Time for action – summarizing data, What just happened?
- fitting, to polynomial / Time for action – fitting to polynomials, What just happened?
- data type
- about / NumPy array object
- data type objects
- about / Data type objects
- dates
- about / Dates
- dealing with / Time for action – dealing with dates, What just happened?
- datestr2num function / Time for action – dealing with dates
- datetime object / Time for action – dealing with dates
- Debian
- Python, installing on / Time for action – installing Python on different operating systems
- NumPy, installing on / Time for action – installing NumPy on Linux
- about / Time for action – installing NumPy on Linux
- depth-wise splitting / Time for action – splitting arrays
- depth stacking / Time for action – stacking arrays
- determinant
- about / Determinants
- calculating, of matrix / Time for action – calculating the determinant of a matrix, What just happened?
- det function / Determinants, Time for action – calculating the determinant of a matrix
- detrend function / Signal processing
- diag function / Time for action – decomposing a matrix
- diagonal function / Time for action – trading correlated pairs, What just happened?
- diff function / Time for action – analyzing stock returns, What just happened?, Time for action – balancing volume
- DISH
- distribution (distro)
- about / Linux
- divide function / Time for action – dividing arrays
- DMG file
- dot function / What just happened?, Solving linear systems, Time for action – solving a linear system
- dsplit function / Splitting, Time for action – splitting arrays
- dstack function / Time for action – stacking arrays
- dtype class
- attributes / dtype attributes
- about / dtype attributes
- dtype constructors / dtype constructors
E
- eigenvalues
- eigenvectors
- eig function / Finding eigenvalues and eigenvectors
- elements
- selecting, of array / Selecting elements
- extracting, from array / Time for action – extracting elements from an array
- ellipsis
- used, for slicing / Time for action – slicing and indexing multidimensional arrays
- equal universal function / Time for action – twiddling bits
- error function / Time for action – calculating the Gaussian integral
- exp function / Time for action – calculating the exponential moving average
- exponential moving average
- extract function / Searching, Array elements extraction, Time for action – extracting elements from an array
- extremums / Time for action – fitting to polynomials
- eye function / Identity matrix creation
F
- factorial
- about / Factorial
- calculating / Time for action – calculating the factorial, What just happened?
- Fast Fourier transform
- about / Fast Fourier transform
- calculating / Time for action – calculating the Fourier transform, What just happened?
- features, IPython / IPython—an interactive shell
- Fedora
- fft function / Time for action – calculating the Fourier transform, What just happened?, Time for action – shifting frequencies
- fftshift function / Shifting
- Fibonacci matrix
- Fibonacci number
- computing, with matrix / Time for action – computing Fibonacci numbers
- Fibonacci numbers
- about / Fibonacci numbers
- computing / Time for action – computing Fibonacci numbers, What just happened?
- File IO
- about / File I/O
- files, writing / Time for action – reading and writing files
- files, reading / Time for action – reading and writing files
- files
- writing / Time for action – reading and writing files
- reading / Time for action – reading and writing files
- about / CSV files
- fill_between function
- about / Fill between
- condition-based plot region, shading / Time for action – shading plot regions based on a condition, What just happened?
- financial functions, NumPy
- fv / Financial functions
- pv / Financial functions
- npv / Financial functions
- pmt / Financial functions
- irr / Financial functions
- mirr / Financial functions
- nper / Financial functions
- rate / Financial functions
- finfo function / Time for action – comparing with assert_array_almost_equal_nulp, Time for action – comparing using maxulp of 2
- Fink
- NumPy, installing on Mac OS X with / Time for action – installing NumPy with MacPorts or Fink, What just happened?
- about / Time for action – installing NumPy with MacPorts or Fink
- flat attribute / Array attributes
- flatten function / Time for action – manipulating array shapes
- float16 type / NumPy numerical types
- float32 type / NumPy numerical types
- float64 type / NumPy numerical types
- floating point
- float type / NumPy numerical types
- floor_divide function / Time for action – dividing arrays
- fmod function / Modulo operation, Time for action – computing the modulo
- Fourier analysis
- about / Fourier analysis
- detrended signal, filtering / Time for action – filtering a detrended signal, What just happened?
- frequencies
- frompyfunc function / Time for action – creating universal function
- future value
- determining / Time for action – determining future value
- fv function / Financial functions, Time for action – determining future value
G
- game show
- simulating / Time for action – simulating a game show, What just happened?
- GCC
- about / Building from source
- Gentoo
- NumPy, installing on / Time for action – installing NumPy on Linux
- about / Time for action – installing NumPy on Linux
- git
- about / Building from source
- golden ratio formula
- GUI installer
- NumPy, installing on Mac OS X with / Time for action – installing NumPy on Mac OS X with a GUI installer
- downloading / Time for action – installing NumPy on Mac OS X with a GUI installer
H
- %hist command / IPython—an interactive shell
- hamming function / Hamming window, What just happened?
- Hamming window
- about / Hamming window
- plotting / Time for action – plotting the Hamming window, What just happened?
- calculating / Time for action – plotting the Hamming window
- hanning function / Smoothing, What just happened?
- arrays of stock returns, smoothing with / Time for action – smoothing with the hanning function, What just happened?
- highest value
- calculating / Time for action – finding highest and lowest values
- histogram function / Time for action – determining the mode of stock returns, What just happened?
- histograms
- DISH / Time for action – charting stock price distributions
- stock price distributions, charting / What just happened?
- bell curve, drawing / Have a go hero – drawing a bell curve
- historical volatility
- horizontal splitting / Time for action – splitting arrays
- horizontal stacking / Time for action – stacking arrays
- hsplit function / Splitting
- hstack function / Time for action – stacking arrays
- hypergeometric distribution
- about / Hypergeometric distribution
- hypergeometric function / Hypergeometric distribution, Time for action – simulating a game show, What just happened?
I
- identity matrix
- creating / Identity matrix creation
- IEEE 754 specification / Floating point comparisons
- ifft function / What just happened?
- ifftshift function / Shifting
- imag attribute / Array attributes
- image processing
- about / Image processing
- Lena, manipulating / Time for action – manipulating Lena, What just happened?
- insert function / Time for action – using searchsorted
- installing
- Python, on Ubuntu / Time for action – installing Python on different operating systems
- Python, on Debian / Time for action – installing Python on different operating systems
- Python, on Windows / Time for action – installing Python on different operating systems
- Python, on Mac OS X / Time for action – installing Python on different operating systems
- NumPy, on Windows / Time for action – installing NumPy on Windows
- NumPy, on Linux / Linux, Time for action – installing NumPy on Linux, What just happened?
- NumPy, on Red Hat / Time for action – installing NumPy on Linux
- NumPy, on Mandriva / Time for action – installing NumPy on Linux
- NumPy, on Gentoo / Time for action – installing NumPy on Linux
- NumPy, on Debian / Time for action – installing NumPy on Linux
- NumPy, on Ubuntu / Time for action – installing NumPy on Linux
- NumPy, on Mac OS X / Time for action – installing NumPy on Mac OS X with a GUI installer
- int8 type / NumPy numerical types
- int16 type / NumPy numerical types
- int32 type / NumPy numerical types
- int64 type / NumPy numerical types
- interest rate
- figuring out / Time for action – figuring out the rate, What just happened?
- internal rate of return
- interp1d class / Interpolation, What just happened?
- interp2d class / Interpolation
- interpolation
- about / Interpolation
- in one dimension / Time for action – interpolating in one dimension
- Inti type / NumPy numerical types
- inv function / Time for action – inverting matrices
- IPython
- about / IPython—an interactive shell
- features / IPython—an interactive shell
- irr function / Financial functions, Internal rate of return, What just happened?
- isreal function / Time for action – smoothing with the hanning function, What just happened?
- itemsize attribute / Array attributes
K
- Kolmogorov Smirnov test / Time for action – comparing stock log returns
L
- LAPACK
- leastsq function / Time for action – fitting to a sine
- left_shift universal function / Time for action – twiddling bits
- legend
- about / Legend and annotations, Time for action – using legend and annotations, What just happened?
- crossover points, finding / Time for action – using legend and annotations
- crossover points, annotating / Time for action – using legend and annotations
- legend function / Legend and annotations
- legends
- adding / Time for action – using legend and annotations
- making, transparent / Time for action – using legend and annotations
- len function / Time for action – drawing trend lines
- less function / Time for action – twiddling bits
- lexsort function / Sorting, Time for action – sorting lexically
- LinAlgError exception / Have a go hero – inverting your own matrix
- linalg package / Linear model
- linear algebra
- about / Linear algebra
- linear model
- price, predicting with / Time for action – predicting price with a linear model, What just happened?
- linear system
- linespace function / Time for action – calculating the exponential moving average, What just happened?
- linspace function / Time for action – drawing Lissajous curves, What just happened?
- Linux
- NumPy, installing on / Linux, Time for action – installing NumPy on Linux, What just happened?
- Linux distributions
- about / Time for action – installing NumPy on Linux
- Arch Linux / Time for action – installing NumPy on Linux
- Debian / Time for action – installing NumPy on Linux
- Fedora / Time for action – installing NumPy on Linux
- Gentoo / Time for action – installing NumPy on Linux
- OpenSUSE / Time for action – installing NumPy on Linux
- Slackware / Time for action – installing NumPy on Linux
- Lissajous curves
- about / Lissajous curves
- drawing / Time for action – drawing Lissajous curves, What just happened?
- loadmat function / Matlab and Octave
- loadtxt function / What just happened?, Time for action – loading from CSV files, Time for action – dealing with dates
- logarithmic plots
- about / Logarithmic plots
- stock volume, plotting / Time for action – plotting stock volume, What just happened?
- log function / Time for action – analyzing stock returns, What just happened?
- loglog function / Logarithmic plots
- lognormal distribution
- lognormal function / Lognormal distribution
- log returns
- loops
- avoiding, with vectorize function / Time for action – avoiding loops with vectorize, What just happened?
- lowest value
- calculating / Time for action – finding highest and lowest values
- lstsq function / Time for action – predicting price with a linear model, What just happened?
M
- .mat file, Matlab
- machine epsilon
- about / Floating point comparisons
- Mac OS X
- Python, installing on / Time for action – installing Python on different operating systems
- NumPy, installing on / Time for action – installing NumPy on Mac OS X with a GUI installer
- MacPorts
- NumPy, installing on Mac OS X with / Time for action – installing NumPy with MacPorts or Fink, What just happened?
- Mandriva
- NumPy, installing on / Time for action – installing NumPy on Linux
- map function / Time for action – avoiding loops with vectorize
- Maple / IPython—an interactive shell
- mat function / Matrices, Time for action – creating matrices, What just happened?, Time for action – creating a matrix from other matrices, Time for action – inverting matrices
- Mathematica / IPython—an interactive shell
- Matlab / IPython—an interactive shell
- about / Matlab and Octave
- .mat file, loading / Time for action – saving and loading a .mat file
- .mat file, saving / Time for action – saving and loading a .mat file
- Matplotlib
- logarithmic plots / Logarithmic plots
- scatter plots / Scatter plots
- fill_between function / Fill between
- annotations / Legend and annotations
- legends / Legend and annotations, What just happened?
- legend / Time for action – using legend and annotations
- matrices
- about / Matrices
- creating / Time for action – creating matrices, What just happened?
- transposing / Time for action – creating matrices
- inverting / Time for action – creating matrices, Time for action – inverting matrices, What just happened?
- increasing, from arrays / Time for action – creating matrices
- matrix, creating from / Time for action – creating a matrix from other matrices, What just happened?
- matrix
- creating, from string / Time for action – creating matrices
- creating, from other matrices / Time for action – creating a matrix from other matrices, What just happened?
- Fibonacci number, computing with / Time for action – computing Fibonacci numbers
- decomposing / Time for action – decomposing a matrix, What just happened?
- matrix function / Matrices, Fibonacci numbers
- matrix multiplication
- about / Matrices
- max function / Time for action – finding highest and lowest values, What just happened?, Time for action – summarizing data, Time for action – calculating the average true range
- maximum function / Time for action – calculating the average true range
- maxulp parameter / Comparison of floats with more ULPs
- mean function / The mean function, What just happened?, Time for action – analyzing stock returns
- median function / Time for action – doing simple statistics
- Mersenne Twister algorithm
- about / Random numbers
- metadata
- about / NumPy array object
- min function / Time for action – finding highest and lowest values, What just happened?, Time for action – summarizing data
- mirr function / Financial functions
- mode
- determining, for stock returns / Time for action – determining the mode of stock returns, What just happened?
- mod function / Modulo operation, Time for action – computing the modulo
- modulo
- modulo operations
- remainder function / Time for action – computing the modulo
- mod function / Time for action – computing the modulo
- % operator / Time for action – computing the modulo
- fmod operation / Time for action – computing the modulo
- modulus
- computing / Time for action – twiddling bits
- monthly volatility
- Moore-Penrose pseudo inverse
- about / Pseudo inverse
- msort function / Time for action – doing simple statistics, Sorting
- multidimensional array
- multidimensional arrays
N
- nanargmax function / Searching
- nanargmin function / Searching
- nbytes attribute / Array attributes
- ndarray
- about / NumPy array object
- ndarray class / Sorting
- ndarray methods / Methods of ndarray
- ndim attribute / Array attributes
- net present value
- calculating / Time for action – calculating the net present value
- normal distribution
- normal function / Time for action – drawing a normal distribution
- nper function / Financial functions, Number of payments
- npv function / Financial functions, Net present value, What just happened?
- number
- almost equal number, asserting / Time for action – asserting almost equal, What just happened?
- number of periodic payments
- numerical integration
- about / Numerical integration
- Gaussian integral, calculating / Time for action – calculating the Gaussian integral
- numerical types, NumPy
- about / NumPy numerical types
- bool / NumPy numerical types
- Inti / NumPy numerical types
- int8 / NumPy numerical types
- int16 / NumPy numerical types
- int32 / NumPy numerical types
- int64 / NumPy numerical types
- uint8 / NumPy numerical types
- uint16 / NumPy numerical types
- uint32 / NumPy numerical types
- uint64 / NumPy numerical types
- float16 / NumPy numerical types
- float32 / NumPy numerical types
- float64 / NumPy numerical types
- float / NumPy numerical types
- complex64 / NumPy numerical types
- complex128 / NumPy numerical types
- complex / NumPy numerical types
- NumPy
- about / Python
- installing, on Windows / Time for action – installing NumPy on Windows
- features / Time for action – installing NumPy on Windows
- installing, on Linux / Linux, Time for action – installing NumPy on Linux, What just happened?
- installing, on Red Hat / Time for action – installing NumPy on Linux
- installing, on Mandriva / Time for action – installing NumPy on Linux
- installing, on Gentoo / Time for action – installing NumPy on Linux
- installing, on Debian / Time for action – installing NumPy on Linux
- installing, on Ubuntu / Time for action – installing NumPy on Linux
- packages / Time for action – installing NumPy on Linux
- installing, with Fink / Time for action – installing NumPy with MacPorts or Fink, What just happened?
- installing, with MacPorts / Time for action – installing NumPy with MacPorts or Fink, What just happened?
- source code, retrieving for / Building from source
- arrays / Vectors
- vectors, adding with / Time for action – adding vectors
- online resources / Online resources and help
- URL, for documentation / Online resources and help
- array object / NumPy array object
- multidimensional array, creating / Time for action – creating a multidimensional array, What just happened?
- numerical types / NumPy numerical types
- data type objects / Data type objects
- character codes / Character codes
- dtype constructors / dtype constructors
- reccord data type, creating / Time for action – creating a record data type
- one-dimensional array, indexing / One-dimensional slicing and indexing
- one-dimensional array, slicing / One-dimensional slicing and indexing
- multidimensional arrays, slicing / Time for action – slicing and indexing multidimensional arrays, What just happened?
- multidimensional arrays, indexing / Time for action – slicing and indexing multidimensional arrays, What just happened?
- array shapes, manipulating / Time for action – manipulating array shapes
- arrays, stacking / Time for action – stacking arrays
- arrays, splitting / Splitting
- arrays, converting to list / Time for action – converting arrays, What just happened?
- File IO / File I/O
- data, loading from CSV files / Time for action – loading from CSV files
- VWAP, calculating / Time for action – calculating volume weighted average price
- lowest value, calculating / Time for action – finding highest and lowest values
- highest value, calculating / Time for action – finding highest and lowest values
- simple statistics, performing / Time for action – doing simple statistics, What just happened?
- stock returns, analyzing / Time for action – analyzing stock returns, What just happened?
- dealing, with dates / Time for action – dealing with dates, What just happened?
- data, summarizing / Time for action – summarizing data, What just happened?
- ATR, calculating / Time for action – calculating the average true range
- simple moving average, computing / Time for action – computing the simple moving average, What just happened?
- exponential moving average, calculating / Time for action – calculating the exponential moving average, What just happened?
- price, predicting with linear model / Time for action – predicting price with a linear model, What just happened?
- trend lines, drawing / Time for action – drawing trend lines, What just happened?
- arrays, clipping / Methods of ndarray, What just happened?
- arrays, compressing / Methods of ndarray, What just happened?
- factorial, calculating / Time for action – calculating the factorial, What just happened?
- correlations, computing for stock returns / Time for action – trading correlated pairs, What just happened?
- data, fitting to polynomials / Time for action – fitting to polynomials, What just happened?
- on-balance volume, computing / Time for action – balancing volume, What just happened?
- mode, determining for stock returns / Time for action – determining the mode of stock returns, What just happened?
- loops, avoiding with vectorize function / Time for action – avoiding loops with vectorize, What just happened?
- arrays of stock returns, smoothing with hanning function / Time for action – smoothing with the hanning function, What just happened?
- matrices, creating / Time for action – creating matrices, What just happened?
- matrix, creating from other matrices / Time for action – creating a matrix from other matrices, What just happened?
- unfuncs, creating / Time for action – creating universal function
- ufuncs methods, applying on add function / Time for action – applying the ufunc methods on add
- arrays, dividing / Time for action – dividing arrays, What just happened?
- modulo, computing / Time for action – computing the modulo, What just happened?
- Fibonacci numbers, computing / Time for action – computing Fibonacci numbers, What just happened?
- Lissajous curves, drawing / Time for action – drawing Lissajous curves, What just happened?
- square wave, drawing / Time for action – drawing a square wave, What just happened?
- triangle waves, drawing / Time for action – drawing sawtooth and triangle waves, What just happened?
- sawtooth, drawing / Time for action – drawing sawtooth and triangle waves, What just happened?
- comparison functions / Bitwise and comparison functions, Time for action – twiddling bits
- bitwise functions / Bitwise and comparison functions, Time for action – twiddling bits
- bits, twiddling / Time for action – twiddling bits
- matrices, inverting / Time for action – inverting matrices, What just happened?
- linear systems, solving / Time for action – solving a linear system
- eigenvectors, calculating / Time for action – determining eigenvalues and eigenvectors
- eigenvalues, calculating / Time for action – determining eigenvalues and eigenvectors
- matrix, decomposing / Time for action – decomposing a matrix, What just happened?
- pseudo inverse, computing of matrix / Time for action – computing the pseudo inverse of a matrix, What just happened?
- determinant, calculating of matrix / Time for action – calculating the determinant of a matrix, What just happened?
- Fast Fourier transform, calculating / Time for action – calculating the Fourier transform, What just happened?
- frequencies, shifting / Time for action – shifting frequencies, What just happened?
- binomial numbers / Time for action – gambling with the binomial, What just happened?
- game show, simulating / Time for action – simulating a game show, What just happened?
- normal distribution, drawing / Time for action – drawing a normal distribution, What just happened?
- lognormal distribution, drawing / Time for action – drawing the lognormal distribution, What just happened?
- sorting routines / Sorting
- sorting, lexically / Time for action – sorting lexically, What just happened?
- complex numbers, sorting / Time for action – sorting complex numbers, What just happened?
- searchsorted function, using / Time for action – using searchsorted
- future value, determining / Time for action – determining future value
- present value, retrieving / Time for action – getting the present value
- net present value, calculating / Time for action – calculating the net present value
- internal rate of return, calculating / Time for action – determining the internal rate of return, What just happened?
- periodic payments, calculating / Time for action – calculating the periodic payments
- number of periodic payments, determining / Time for action – determining the number of periodic payments
- interest rate, figuring out / Time for action – figuring out the rate, What just happened?
- bartlett window, plotting / Time for action – plotting the Bartlett window, What just happened?
- stock prices, smoothing with Blackman window / Time for action – smoothing stock prices with the Blackman window, What just happened?
- Hamming window, plotting / Time for action – plotting the Hamming window, What just happened?
- assert functions / Assert functions
- almost equal number, asserting / Time for action – asserting almost equal, What just happened?
- approximately equal arrays, asserting / Time for action – asserting approximately equal, What just happened?
- almost equal arrays, asserting / Time for action – asserting arrays almost equal, What just happened?
- equal arrays, asserting / Equal arrays, What just happened?
- arrays, comparing / Time for action – comparing arrays, What just happened?
- arrays, ordering / Time for action – checking the array order, What just happened?
- objects, comparing / Time for action – comparing objects, What just happened?
- strings, comparing / Time for action – comparing strings
- floating point, comparing / Time for action – comparing with assert_array_almost_equal_nulp, What just happened?
- floats, comparing with ULPs / Comparison of floats with more ULPs
- Numpy
- element, extracting from array / Time for action – extracting elements from an array
- NumPy, installing
- on Windows / Time for action – installing NumPy on Windows
- on Linux / Linux, Time for action – installing NumPy on Linux, What just happened?
- on Red Hat / Time for action – installing NumPy on Linux
- on Mandriva / Time for action – installing NumPy on Linux
- on Gentoo / Time for action – installing NumPy on Linux
- on Debian / Time for action – installing NumPy on Linux
- on Ubuntu / Time for action – installing NumPy on Linux
- on Mac OS X / Time for action – installing NumPy on Mac OS X with a GUI installer
- numpy.linalg function / Solving linear systems
- numpy.linalg package / Linear algebra, Time for action – inverting matrices
- NumPy array
- about / NumPy array object
- example / NumPy array object
- elements, selecting / Selecting elements
- reshaping / Time for action – slicing and indexing multidimensional arrays
- creating / Time for action – slicing and indexing multidimensional arrays
- stacking / Time for action – stacking arrays
- splitting / Splitting
- attributes / Array attributes
- converting, to list / Time for action – converting arrays, What just happened?
- NumPy arrays
- about / Vectors
- NumPy functions
- Bollinger bands, calculating / Time for action – enveloping with Bollinger bands, What just happened?
- NumPy installer
- downloading / Time for action – installing NumPy on Windows
- numpysum function / Time for action – adding vectors, What just happened?
O
- % operator / Time for action – computing the modulo
- // operator / Time for action – dividing arrays
- / operator / Time for action – dividing arrays
- objects
- comparing / Time for action – comparing objects, What just happened?
- on-balance volume
- about / On-balance volume
- computing / Time for action – balancing volume, What just happened?
- one-dimensional array
- indexing / One-dimensional slicing and indexing
- slicing / One-dimensional slicing and indexing
- ones function / Time for action – computing the simple moving average, What just happened?
- OpenSUSE
- optimization
- about / Optimization
- sine, fitting to / Time for action – fitting to a sine, What just happened?
- outer method / Time for action – applying the ufunc methods on add
P
- packages, NumPy
- python-numpy / Time for action – installing NumPy on Linux
- numpy / Time for action – installing NumPy on Linux
- dev-python/numpy / Time for action – installing NumPy on Linux
- python-numpy, python-numpy-devel / Time for action – installing NumPy on Linux
- periodic payments
- calculating / Time for action – calculating the periodic payments
- piecewise function / Time for action – balancing volume
- pinv function / Pseudo inverse, Time for action – computing the pseudo inverse of a matrix
- plot function / Time for action – using legend and annotations
- pmt function / Financial functions, Periodic payments
- polyder function / Time for action – fitting to polynomials, What just happened?
- polyfit function / Time for action – fitting to polynomials, What just happened?
- polynomials
- about / Polynomials
- data, fitting to / Time for action – fitting to polynomials, What just happened?
- polysub function / What just happened?
- polyval function / Time for action – fitting to polynomials, What just happened?
- positive returns
- selecting / Time for action – analyzing stock returns
- present value
- retrieving / Time for action – getting the present value
- probability density function / Continuous distributions, Time for action – drawing the lognormal distribution
- prod function / Time for action – calculating the factorial, What just happened?
- pseudo inverse
- computing, of matrix / Time for action – computing the pseudo inverse of a matrix, What just happened?
- ptp function / Time for action – finding highest and lowest values
- pv function / Financial functions, Present value
- Pylab switch
- about / IPython—an interactive shell
- Python
- about / Python
- installing, on different operating systems / Time for action – installing Python on different operating systems
- installing, on Ubuntu / Time for action – installing Python on different operating systems
- installing, on Debian / Time for action – installing Python on different operating systems
- installing, on Windows / Time for action – installing Python on different operating systems
- installing, on Mac OS X / Time for action – installing Python on different operating systems
- vectors, adding with / Time for action – adding vectors
- Python, installing
- on different operating systems / Time for action – installing Python on different operating systems
- on Ubuntu / Time for action – installing Python on different operating systems
- on Debian / Time for action – installing Python on different operating systems
- on Windows / Time for action – installing Python on different operating systems
- on Mac OS X / Time for action – installing Python on different operating systems
- Python 2.4.x
- Python function
- pythonsum function / Time for action – adding vectors
Q
- quad function / What just happened?
- quit() method / IPython—an interactive shell
R
- random complex numbers
- generating / Time for action – sorting complex numbers
- random numbers
- about / Random numbers
- rate function / Financial functions, Interest rate, What just happened?
- ravel function / Time for action – manipulating array shapes, Time for action – summarizing data, Time for action – drawing trend lines
- real attribute / Array attributes
- record data type
- Red Hat
- NumPy, installing on / Time for action – installing NumPy on Linux
- reduceat method / Time for action – applying the ufunc methods on add
- reduce method / Time for action – applying the ufunc methods on add
- remainder function / Modulo operation, Time for action – computing the modulo
- reshape function / Time for action – slicing and indexing multidimensional arrays, Time for action – manipulating array shapes
- resize melthod / Time for action – manipulating array shapes
- rint function / Fibonacci numbers
- roots function / Time for action – fitting to polynomials, What just happened?
- row stacking / Time for action – stacking arrays
- row_stack function / Time for action – stacking arrays
- rtol parameter / Equal arrays
S
- #scipy / Online resources and help
- sample comparison
- stock log returns, comparing / Time for action – comparing stock log returns
- savemat function / Matlab and Octave
- savetxt function / Identity matrix creation, Time for action – summarizing data
- sawtooth
- scatter plot
- about / Scatter plots
- price return, plotting / Time for action – plotting price and volume returns with scatter plot, What just happened?
- volume return, plotting / Time for action – plotting price and volume returns with scatter plot, What just happened?
- volume, extracting / Time for action – plotting price and volume returns with scatter plot
- close price, extracting / Time for action – plotting price and volume returns with scatter plot
- figure, creating / Time for action – plotting price and volume returns with scatter plot
- subplot, adding / Time for action – plotting price and volume returns with scatter plot
- creating / Time for action – plotting price and volume returns with scatter plot
- title, creating / Time for action – plotting price and volume returns with scatter plot
- grid, creating / Time for action – plotting price and volume returns with scatter plot
- SciKits
- about / Samples comparison and SciKits
- scikits.statsmodels.stattools / Samples comparison and SciKits
- SciPy
- online resources / Online resources and help
- scipy.stats / Statistics
- image processing / Image processing
- scipy.fftpack module / Fourier analysis
- scipy.interpolate function / Interpolation
- scipy.interpolate module / What just happened?
- scipy.io package / Matlab and Octave
- scipy.ndimage module / What just happened?
- scipy.optimize module / What just happened?
- scipy.signal module / Signal processing
- scipy.stats
- about / Statistics
- random values, analyzing / Time for action – analyzing random values, What just happened?
- data generation, improving / Have a go hero – improving the data generation
- scipy.stats.norm.rvs function / Have a go hero – improving the data generation
- SciPy forum
- search function, NumPy
- searchsorted function / Searching
- select function / Time for action – smoothing with the hanning function, What just happened?
- semilogx function / Logarithmic plots
- semilogy function / Logarithmic plots
- signal processing
- about / Signal processing
- trend detecting, in QQQ / Time for action – detecting a trend in QQQ
- sign function / Time for action – balancing volume
- simple moving average
- simple returns
- simple statistics
- performing / Time for action – doing simple statistics, What just happened?
- simulation
- about / Simulation
- sinc function / What just happened?
- sin function / Time for action – drawing Lissajous curves, What just happened?, Time for action – drawing sawtooth and triangle waves, What just happened?
- singular value decomposition
- about / Singular value decomposition
- size attribute / Array attributes
- Slackware
- slices
- smaller matrices
- smoothing
- about / Smoothing
- solve function / Time for action – solving a linear system, What just happened?
- sorted array
- creating / Time for action – using searchsorted
- sort function / Time for action – determining the mode of stock returns, Sorting
- sorting routines, NumPy
- sort method / Sorting
- sort_complex function / Sorting, Time for action – sorting complex numbers, What just happened?
- split function / Splitting, Time for action – splitting arrays, Time for action – summarizing data
- splitting
- about / Splitting
- splitting, types
- horizontal / Time for action – splitting arrays
- vertical / Time for action – splitting arrays
- depth / Time for action – splitting arrays
- sqrt function / Time for action – analyzing stock returns
- square wave
- about / Square waves
- drawing / Time for action – drawing a square wave, What just happened?
- stacking
- about / Stacking
- stacking, types
- horizontal / Time for action – stacking arrays
- vertical / Time for action – stacking arrays
- depth / Time for action – stacking arrays
- column / Time for action – stacking arrays
- row / Time for action – stacking arrays
- stack overflow software development forum
- statistics
- about / Statistics
- performing / Time for action – doing simple statistics, What just happened?
- std function / Time for action – analyzing stock returns
- stock log returns, comparing
- quotes, downloading / Time for action – comparing stock log returns
- log returns, calculating / Time for action – comparing stock log returns
- Kolmogorov Smirnov test / Time for action – comparing stock log returns
- Jarque Bera test / Time for action – comparing stock log returns
- histograms plotting, Matplotlib used / Time for action – comparing stock log returns
- stock prices
- smoothing, with Blackman window / Time for action – smoothing stock prices with the Blackman window, What just happened?
- stock returns
- about / Stock returns
- analyzing / Time for action – analyzing stock returns, What just happened?
- correlation, computing for / Time for action – trading correlated pairs, What just happened?
- mode, determining for / Time for action – determining the mode of stock returns, What just happened?
- smoothing / Time for action – smoothing with the hanning function
- str attribute / dtype attributes
- string
- matrix, creating from / Time for action – creating matrices
- strings
- comparing / Time for action – comparing strings
- strip_zeroes function / What just happened?
- sum function / Time for action – drawing sawtooth and triangle waves
- summarize function / Time for action – summarizing data, What just happened?
- svd function / Time for action – decomposing a matrix
T
- take function / Time for action – dealing with dates, Time for action – summarizing data
- T attribute / Array attributes
- Taylor expansion
- about / Polynomials
- tolist function / Time for action – converting arrays
- trace function / Time for action – trading correlated pairs, What just happened?
- transpose function / Array attributes
- trend detecting, in QQQ
- quotes, downloading / Time for action – detecting a trend in QQQ
- signal, detrending / Time for action – detecting a trend in QQQ
- locators, creating / Time for action – detecting a trend in QQQ
- date, formatter / Time for action – detecting a trend in QQQ
- figure / Time for action – detecting a trend in QQQ
- subplot / Time for action – detecting a trend in QQQ
- X axis labels / Time for action – detecting a trend in QQQ
- diagram / Time for action – detecting a trend in QQQ
- trend lines
- about / Trend lines
- drawing / Time for action – drawing trend lines, What just happened?
- triangle waves
- trim_zeros function / Time for action – smoothing with the hanning function
- true_divide function / Time for action – dividing arrays
- TWAP
- computing / Time weighted average price
U
- Ubuntu
- Python, installing on / Time for action – installing Python on different operating systems
- NumPy, installing on / Time for action – installing NumPy on Linux
- ufunc methods
- applying, on add function / Time for action – applying the ufunc methods on add
- ufuncs
- about / Universal functions
- creating / Time for action – creating universal function
- methods / Universal function methods
- ufuncs, methods
- about / Universal function methods
- reduce / Universal function methods, Time for action – applying the ufunc methods on add
- accumulate / Universal function methods, Time for action – applying the ufunc methods on add
- reduceat / Universal function methods, Time for action – applying the ufunc methods on add
- outer / Universal function methods, Time for action – applying the ufunc methods on add
- uint8 type / NumPy numerical types
- uint16 type / NumPy numerical types
- uint32 type / NumPy numerical types
- uint64 type / NumPy numerical types
- ULP
- about / Floating point comparisons
- floats, comparing with / Comparison of floats with more ULPs
- ultimate_answer function / Time for action – creating universal function
- unique function / Time for action – determining the mode of stock returns
- unpack parameter / What just happened?
- usecols argument / What just happened?
- usecols parameter / Time for action – finding highest and lowest values
V
- VALE / Time for action – trading correlated pairs
- value range
- about / Value range
- vectorize function
- loops, avoiding with / Time for action – avoiding loops with vectorize, What just happened?
- vectors
- adding, Python used / Time for action – adding vectors
- adding, NumPy used / Time for action – adding vectors
- about / NumPy array object
- vertical splitting / Time for action – splitting arrays
- vertical stacking / Time for action – stacking arrays
- vsplit function / Splitting, Time for action – splitting arrays
- vstack function / Time for action – stacking arrays
- VWAP
- about / Volume weighted average price
- calculating / Time for action – calculating volume weighted average price
W
- weekday method / Time for action – dealing with dates
- weekly summary
- about / Weekly summary
- weights parameter / What just happened?
- where function / Time for action – analyzing stock returns, Time for action – dealing with dates, Time for action – drawing trend lines
- where parameter / Fill between
- Window functions
- about / Window functions
- barlett / Window functions
- blackman / Window functions, Blackman window
- hamming / Window functions, Hamming window
- hanning / Window functions
- kaiser / Window functions
- Windows
- Python, installing on / Time for action – installing Python on different operating systems
- NumPy, installing on / Time for action – installing NumPy on Windows
- Windows Python installer
Z
- zeros_like function / Time for action – creating universal function, What just happened?