Skip to content

Added shuf#608

Merged
raklaptudirm merged 3 commits intoTheAlgorithms:masterfrom
MarkSFrancis:shuf
May 21, 2021
Merged

Added shuf#608
raklaptudirm merged 3 commits intoTheAlgorithms:masterfrom
MarkSFrancis:shuf

Conversation

@MarkSFrancis
Copy link
Copy Markdown
Contributor

@MarkSFrancis MarkSFrancis commented May 20, 2021

See issue #567.

What is shuf?

shuf is a tool to get a random sample in a random order, from a data source of an unknown size. It's used in data analytics, often as a way to get a small random sample from a data lake or warehouse, or from a large CSV file. It was originally written for coreutils as a CLI tool, and you can find the source for that here.

I have reverse-engineered it to JS as an algorithm.

@raklaptudirm raklaptudirm added the code style issue Failing style checks label May 21, 2021
Copy link
Copy Markdown
Member

@raklaptudirm raklaptudirm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change your code to follow the style guide of The Algorithms. This can be done automatically using standardjs tool.

@raklaptudirm raklaptudirm merged commit 94b202b into TheAlgorithms:master May 21, 2021
@raklaptudirm raklaptudirm removed the code style issue Failing style checks label May 21, 2021
@MarkSFrancis MarkSFrancis deleted the shuf branch May 24, 2021 11:23
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.

2 participants