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

Better row interface #238

Open
1 of 2 tasks
JovanVeljanoski opened this issue Apr 27, 2019 · 0 comments
Open
1 of 2 tasks

Better row interface #238

JovanVeljanoski opened this issue Apr 27, 2019 · 0 comments

Comments

@JovanVeljanoski
Copy link
Member

JovanVeljanoski commented Apr 27, 2019

It would be very helpful if df.expression supported:

  • slicing, (e.g. df.x[:10] and df.x[:10].values)
  • argmin and argmax, (e.g. df.x.argmin() and df.x.argmax())

Perhaps it would be also nice to have support for argsort as a whole, although that would be quite intensive for large datasets. The use-case I see coming up is the need to find the n smallest or largest indices of a particular expressions, so those rows in the DataFrame can be queries or inspected in more detail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant