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

feat: Table.topk() #10388

Open
1 task done
NickCrews opened this issue Oct 29, 2024 · 2 comments
Open
1 task done

feat: Table.topk() #10388

NickCrews opened this issue Oct 29, 2024 · 2 comments
Labels
feature Features or general enhancements

Comments

@NickCrews
Copy link
Contributor

Is your feature request related to a problem?

I like the Table.value_counts() API and have been using it a lot. However, the thing I always do next is to order it. Can we turn this into a oneliner, similar to Value.topk()?

What is the motivation behind your request?

No response

Describe the solution you'd like

same API as Value.topk()

What version of ibis are you running?

main

What backend(s) are you using, if any?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@NickCrews NickCrews added the feature Features or general enhancements label Oct 29, 2024
@cpcloud
Copy link
Member

cpcloud commented Oct 29, 2024

Are you always sorting by something in particular? If so, is it the count?

@NickCrews
Copy link
Contributor Author

So far I've only ever wanted count. If we wanted to limit the scope to just that I think it would be just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Features or general enhancements
Projects
Status: backlog
Development

No branches or pull requests

2 participants