Skip to content

Commit 7811a51

Browse files
committed
Frame benchmarking sum instead of mean
1 parent 2466ecb commit 7811a51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asv_bench/benchmarks/frame_methods.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def setup(self):
1919
self.df = DataFrame(np.random.randn(1000, 100))
2020

2121
def time_frame_apply_lambda_mean(self):
22-
self.df.apply((lambda x: x.sum()))
22+
self.df.apply((lambda x: x.mean()))
2323

2424

2525
class frame_apply_np_mean(object):

0 commit comments

Comments
 (0)