From 654057dfd03e63978c50c7608e4bf401ddb96110 Mon Sep 17 00:00:00 2001 From: Matt Roeschke Date: Wed, 7 Dec 2016 21:37:47 -0800 Subject: [PATCH] Frame benchmarking sum instead of mean --- asv_bench/benchmarks/frame_methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py index 3daffb9d3a1cc..8cbf5b8d97b70 100644 --- a/asv_bench/benchmarks/frame_methods.py +++ b/asv_bench/benchmarks/frame_methods.py @@ -299,7 +299,7 @@ def time_apply_axis_1(self): self.df.apply((lambda x: (x + 1)), axis=1) def time_apply_lambda_mean(self): - self.df.apply((lambda x: x.sum())) + self.df.apply((lambda x: x.mean())) def time_apply_np_mean(self): self.df.apply(np.mean)