Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit c8f6cbf

Browse files
authored
Correct perf test for series rolling (#597)
* parallel and add mask for methods: capitalize, casefold, swapcase, title * correct master * add empty line * fix apply * fix
1 parent 1988f04 commit c8f6cbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdc/tests/tests_perf/test_perf_series_rolling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def _test_case(self, pyfunc, name, total_data_length, data_num=1,
8484

8585

8686
cases = [
87-
TC(name='apply', size=[10 ** 7], params='func=lambda x: numpy.nan if len(x) == 0 else x.mean()', skip=True),
87+
TC(name='apply', size=[10 ** 7], params='func=lambda x: np.nan if len(x) == 0 else x.mean()'),
8888
TC(name='corr', size=[10 ** 7]),
8989
TC(name='count', size=[10 ** 7]),
9090
TC(name='cov', size=[10 ** 7]),

0 commit comments

Comments
 (0)