Skip to content

Latest commit

 

History

History
171 lines (93 loc) · 3.92 KB

reference.rst

File metadata and controls

171 lines (93 loc) · 3.92 KB

Function reference

Bottleneck provides the following functions:

reduce

nansum <bottleneck.nansum>, nanmean <bottleneck.nanmean>, nanstd <bottleneck.nanstd>, nanvar <bottleneck.nanvar>, nanmin <bottleneck.nanmin>, nanmax <bottleneck.nanmax>, median <bottleneck.median>, nanmedian <bottleneck.nanmedian>, ss <bottleneck.ss>, nanargmin <bottleneck.nanargmin>, nanargmax <bottleneck.nanargmax>, anynan <bottleneck.anynan>, allnan <bottleneck.allnan>

non-reduce

replace <bottleneck.replace>

non-reduce with axis

rankdata <bottleneck.rankdata>, nanrankdata <bottleneck.nanrankdata>, partition <bottleneck.partition>, argpartition <bottleneck.argpartition>, push <bottleneck.push>

moving window

move_sum <bottleneck.move_sum>, move_mean <bottleneck.move_mean>, move_std <bottleneck.move_std>, move_var <bottleneck.move_var>, move_min <bottleneck.move_min>, move_max <bottleneck.move_max>, move_argmin <bottleneck.move_argmin>, move_argmax <bottleneck.move_argmax>, move_median <bottleneck.move_median>, move_rank <bottleneck.move_rank>

Reduce

Functions that reduce the input array along the specified axis.


bottleneck.nansum


bottleneck.nanmean


bottleneck.nanstd


bottleneck.nanvar


bottleneck.nanmin


bottleneck.nanmax


bottleneck.median


bottleneck.nanmedian


bottleneck.ss


bottleneck.nanargmin


bottleneck.nanargmax


bottleneck.anynan


bottleneck.allnan

Non-reduce

Functions that do not reduce the input array and do not take axis as input.


bottleneck.replace

Non-reduce with axis

Functions that do not reduce the input array but operate along a specified axis.


bottleneck.rankdata


bottleneck.nanrankdata


bottleneck.partition


bottleneck.argpartition


bottleneck.push

Moving window functions

Functions that operate along a (1d) moving window.


bottleneck.move_sum


bottleneck.move_mean


bottleneck.move_std


bottleneck.move_var


bottleneck.move_min


bottleneck.move_max


bottleneck.move_argmin


bottleneck.move_argmax


bottleneck.move_median


bottleneck.move_rank