You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Adding shuf - a way to get a random sample from a large dataset #567
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 here- would you be interested if I created a PR for it, to add it to this repo?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Activity
stale commentedon Mar 19, 2021
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
raklaptudirm commentedon May 13, 2021
@MarkSFrancis I would suggest you submit a pr. The mods will check the algorithm then. Cheers!
raklaptudirm commentedon May 14, 2021
@MarkSFrancis Sorry for the ping but I was wondering if you could close the issue since it has been solved.