We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa0043b commit 3b770faCopy full SHA for 3b770fa
pandas/tests/groupby/test_rank.py
@@ -198,10 +198,10 @@ def test_infs_n_nans(grps, vals, ties_method, ascending, na_option, exp):
198
[0.375, 0.5, 0.75, 0.125, 0.625, 0.25, 0.875, 1.]),
199
('dense', True, 'no_na', False, [1., 1., 4., 3., 1., 2., 4., 4.]),
200
('dense', True, 'no_na', True,
201
- [1. / 4., 1. / 4., 4. / 4., 3. / 4., 1. / 4., 2. / 4., 4. / 4., 4. / 4.]),
+ [0.25, 0.25, 1., 0.75, 0.25, 0.5, 1., 1.]),
202
('dense', False, 'no_na', False, [3., 3., 4., 1., 3., 2., 4., 4.]),
203
('dense', False, 'no_na', True,
204
- [3. / 4., 3. / 4., 4. / 4., 1. / 4., 3. / 4., 2. / 4., 4. / 4., 4. / 4.])
+ [0.75, 0.75, 1., 0.25, 0.75, 0.5, 1., 1.])
205
])
206
def test_rank_args_missing(grps, vals, ties_method, ascending,
207
na_option, pct, exp):
0 commit comments