adamklein/pandas — comment on commit a8939acc882c546b77628aefc8305b2327fed732
File:  line 0
By james18:

the expected results of test_rank2() seems reversed, as in:

df = DataFrame([['b','c','a'],['a','c','b']])
df.rank(1) should be DataFrame([[2.0, 3.0, 1.0], [1, 3, 2]])
and
df.rank(0) should be DataFrame([[2.0, 1.5, 1.0], [1, 1.5, 2]]) (in the current code, however, see below)

On that note, what does it mean that something is of rank 1.5? How should DataFrame([[1,1]]).rank(1) behave?