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

implement head and tail method #1307

Closed
jangorecki opened this issue Sep 23, 2018 · 2 comments · Fixed by #1441
Closed

implement head and tail method #1307

jangorecki opened this issue Sep 23, 2018 · 2 comments · Fixed by #1441
Assignees
Milestone

Comments

@jangorecki
Copy link
Contributor

as in pandas .head/.tail which nicely corresponds to R methods with same names and default R's data.table print

@st-pasha
Copy link
Contributor

why DT[:10, :] and DT[-10:, :] aren't enough?

@jangorecki
Copy link
Contributor Author

because users of pandas and R might expect to use head and tail, which are also commonly used in bash

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

Successfully merging a pull request may close this issue.

2 participants