
Bottleneck is a collection of fast NumPy array functions written in Cython. Only arrays with data type (dtype) int32, int64, float32, and float64 are accelerated. All other dtypes result in calls to slower, unaccelerated functions. To install bottleneck on Windows, first install MinGW and add it to your system path.
v0.7 [Oct 18, 2013]
- bn.rankdata() is twice as fast (with input a = np.random.rand(1000000))
- C files now included in github repo; cython not needed to try latest
- C files are now generated with Cython 0.19.1 instead of 0.16
- Test bottleneck across multiple python/numpy versions using tox
- Source tarball size cut in half
Bug fixes
- move_std, move_nanstd return inappropriate NaNs (sqrt of negative #)
- make test fails on some computers
- scipy optional yet some unit tests depend on scipy
- nanstd([1.0], ddof=1) and nanvar([1.0], ddof=1) crash