8000 BUG: Dense ranking with percent now uses 100% basis by rouzazari · Pull Request #15639 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

BUG: Dense ranking with percent now uses 100% basis #15639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 9, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed typo in test when fixing PEP8/Flake8
  • Loading branch information
rouzazari authored and gfyoung committed Mar 8, 2018
commit 75783f04ed58d9d49b429d193ad3e7df704946d2
2 changes: 1 addition & 1 deletion pandas/tests/test_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def test_rank_dense_method(self):
in_out = [([1], [1.]),
([2], [1.]),
([0], [1.]),
([2, 2], [1., 1.1]),
([2, 2], [1., 1.]),
([1, 2, 3], [1. / 3, 2. / 3, 3. / 3]),
([4, 2, 1], [3. / 3, 2. / 3, 1. / 3],),
([1, 1, 5, 5, 3], [1. / 3, 1. / 3, 3. / 3, 3. / 3, 2. / 3]),
Expand Down
0