Skip to content
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

DataFrame.rank() does not work for dtype object #742

Closed
james18 opened this issue Feb 3, 2012 · 0 comments

Comments

@james18
Copy link

commented Feb 3, 2012

from pandas import DataFrame

df = DataFrame([['b','c','a'],['a','c','b']])

ranked = df..rank(1)

Currently:
ranked = Empty DataFrame

Desired
ranked = a ranked DataFrame (by row) as in the case of DataFrame.rank(1) of dtype = float/int/etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.