Skip to content

Commit bca7be9

Browse files
mroeschkejreback
authored andcommitted
Frame benchmarking sum instead of mean (#14824)
1 parent cb2d6eb commit bca7be9

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
@@ -299,7 +299,7 @@ def time_apply_axis_1(self):
299299
self.df.apply((lambda x: (x + 1)), axis=1)
300300

301301
def time_apply_lambda_mean(self):
302-
self.df.apply((lambda x: x.sum()))
302+
self.df.apply((lambda x: x.mean()))
303303

304304
def time_apply_np_mean(self):
305305
self.df.apply(np.mean)

0 commit comments

Comments
 (0)