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

conrad show --head and --tail #16

Open
vinayak-mehta opened this issue Oct 28, 2019 · 8 comments
Open

conrad show --head and --tail #16

vinayak-mehta opened this issue Oct 28, 2019 · 8 comments
Labels
enhancement New feature or request

Comments

@vinayak-mehta
Copy link
Owner

No description provided.

@vinayak-mehta vinayak-mehta added enhancement New feature or request hacktoberfest labels Oct 28, 2019
@anusha5695
Copy link

@vinayak-mehta : Is this open for PR? if so , any further description?

@vinayak-mehta
Copy link
Owner Author

@anusha5695 Yes it is open! It should be similar to the unix head and tail commands, to display the first/last n rows of the table.

https://en.wikipedia.org/wiki/Head_(Unix)

@anusha5695
Copy link

Thanks. I ll pick this up

@anusha5695
Copy link

anusha5695 commented Oct 28, 2019

Hi @vinayak-mehta, i got it working. Just one question if a user specifies
conrad show --head --tail, should it return the head ?
[ Because it first calls head, and then the tail over head will still return the first row.
Like tail(head(records)) ]

And vice-versa, conrad show --tail --head should it return tail
[ First apply tail , get last result, then apply head ]

Im not sure if ordering of kwargs can be obtained.

@anusha5695
Copy link

@vinayak-mehta : Any updates on this?

@vinayak-mehta
Copy link
Owner Author

@anusha5695 head and tail are independent options, they shouldn't be called together.

@anusha5695
Copy link

Okay 👍

@anusha5695
Copy link

@vinayak-mehta : PR raised

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

No branches or pull requests

2 participants