bottleneck icon indicating copy to clipboard operation
bottleneck copied to clipboard

Fast NumPy array functions written in C

Results 54 bottleneck issues
Sort by recently updated
recently updated
newest added

I was installing fastai library and the build was failing every time during Bottleneck installation. So I tried installing the Bottleneck library separately. I also have the Visual Studio Build...

packaging

Dear Devs, I have used your module in the past with great success in speeding up my code. However, I wonder if it is possible to implement or add perhaps...

Thanks for this very nice package. Just a recommendation - a binary wheel for windows available from pypi would make the installation a lot easier.

bug

I found that the nonreduce_axis.push only support dtypes compatible with np.nan, or for which np.isnan is supported. I'd be happy to attempt to extend the range to other types and...

enhancement

See #271 for impetus. Likely solution is: - Set up `dev` or `rc` channel releases - Parallel testing infra using the published package

packaging

``` import bottleneck as bn import numpy as np m1 = np.random.randn(300,3000) m1_32 = m1.astype(np.float32) %timeit np.nansum(m1,axis=1) %timeit bn.nansum(m1,axis=1) %timeit np.nansum(m1_32,axis=1) %timeit bn.nansum(m1_32,axis=1) ``` when use float64 then bottleneck is...

bug
perf

I just started using this library, love it. Quick question - are there any plans for an equivalent to pandas groupby? Something like: bn.group_by(matrix[:, :2]) .reduce(matrix[:, -1], np.sum)

enhancement

Hello folks, I am thoroughly impressed with the speedups and conciseness of this library. My request is for this enhancement is to type the functions in the library so they...

Bottleneck already includes a fast sum-of-squares function (`ss`), but no NaN-aware counterpart exists. Wouldn't it make sense to add a `nanss` function?