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

cmd(df/first): returns the first row by default. #6312

Merged
merged 1 commit into from Aug 13, 2022

Conversation

andrasio
Copy link
Member

@andrasio andrasio commented Aug 13, 2022

Description

If first is used against a dataframe input without passing the number of rows desired. The current implementation will return 5 rows. Doesn't feel right to me. This pull request changes the default to 1 and it makes more sense given the command name is first.

Changes also the wording a bit.

@andrasio andrasio merged commit eb55fd2 into nushell:main Aug 13, 2022
@andrasio andrasio deleted the feat/df-first branch August 13, 2022 19:08
@fdncred
Copy link
Collaborator

fdncred commented Aug 13, 2022

Nice to see @andrasio submit PRs. It's been too long, my friend. :)

@andrasio
Copy link
Member Author

Nice to see @andrasio submit PRs. It's been too long, my friend. :)

@fdncred 🥰

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 this pull request may close these issues.

None yet

2 participants