Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

REF remove local copies of scipy's nanstd, nanmean

  • Loading branch information...
commit 150d7a0dc364daa6fd22dfe2b6e0585a578e6e1a 1 parent 957aaba
@kwgoodman authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 bottleneck/benchmark/bench.py
View
6 bottleneck/benchmark/bench.py
@@ -213,9 +213,8 @@ def getsetups(setup, shapes, nans):
code = "bn.nanmean(a, axis=AXIS)"
else:
code = "func(a)"
- run['statements'] = [code, "scipy_nanmean(a, axis=AXIS)"]
+ run['statements'] = [code, "np.nanmean(a, axis=AXIS)"]
setup = """
- from bottleneck.slow.func import scipy_nanmean
func, a = bn.func.nanmean_selector(a, axis=AXIS)
"""
run['setups'] = getsetups(setup, shapes, nans)
@@ -230,9 +229,8 @@ def getsetups(setup, shapes, nans):
code = "bn.nanstd(a, axis=AXIS)"
else:
code = "func(a, 0)"
- run['statements'] = [code, "scipy_nanstd(a, axis=AXIS)"]
+ run['statements'] = [code, "np.nanstd(a, axis=AXIS)"]
setup = """
- from bottleneck.slow.func import scipy_nanstd
func, a = bn.func.nanstd_selector(a, axis=AXIS)
"""
run['setups'] = getsetups(setup, shapes, nans)
Please sign in to comment.
Something went wrong with that request. Please try again.