Skip to content

Commit 3b770fa

Browse files
committed
adjust groupby test_rank
1 parent aa0043b commit 3b770fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/groupby/test_rank.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ def test_infs_n_nans(grps, vals, ties_method, ascending, na_option, exp):
198198
[0.375, 0.5, 0.75, 0.125, 0.625, 0.25, 0.875, 1.]),
199199
('dense', True, 'no_na', False, [1., 1., 4., 3., 1., 2., 4., 4.]),
200200
('dense', True, 'no_na', True,
201-
[1. / 4., 1. / 4., 4. / 4., 3. / 4., 1. / 4., 2. / 4., 4. / 4., 4. / 4.]),
201+
[0.25, 0.25, 1., 0.75, 0.25, 0.5, 1., 1.]),
202202
('dense', False, 'no_na', False, [3., 3., 4., 1., 3., 2., 4., 4.]),
203203
('dense', False, 'no_na', True,
204-
[3. / 4., 3. / 4., 4. / 4., 1. / 4., 3. / 4., 2. / 4., 4. / 4., 4. / 4.])
204+
[0.75, 0.75, 1., 0.25, 0.75, 0.5, 1., 1.])
205205
])
206206
def test_rank_args_missing(grps, vals, ties_method, ascending,
207207
na_option, pct, exp):

0 commit comments

Comments
 (0)