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

Fix docs for @slices_sample(5) #98

Merged
merged 17 commits into from
Jun 8, 2024
Merged

Fix docs for @slices_sample(5) #98

merged 17 commits into from
Jun 8, 2024

Conversation

GlenHertz
Copy link
Contributor

@slices_sample(5) doesn't create 5 samples (need @slices_sample(n=5) instead. Perhaps this is a coding issue (not a doc issue).

The docs have `slice_sample(5)` which only creates one sample (not 5).  Perhaps this is a code issue and not a doc issue.
fix(slice docs): slice_sample(n=5)
@kdpsingh
Copy link
Member

Thank you so much! Let me look at the current behavior and will get this merged soon.

@kdpsingh
Copy link
Member

Will take a look soon. Thank you so much for your work on this!

pricklypointer and others added 11 commits April 26, 2024 19:50
- Bugfix: `@ungroup()` now preserves row-ordering (and is faster)
- Bugfix: `slice_sample()` now throws an error if no `n` or `prop` keyword argument is provided
- Bump minimum Julia version to 1.9
The docs have `slice_sample(5)` which only creates one sample (not 5).  Perhaps this is a code issue and not a doc issue.
@kdpsingh
Copy link
Member

kdpsingh commented Jun 8, 2024

Thanks @GlenHertz for catching this. You are right that @slice_sample(5) should throw an error instead of returning a single random row. As of #107, this now throws an error.

@kdpsingh kdpsingh merged commit c9bc480 into TidierOrg:main Jun 8, 2024
3 checks passed
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

3 participants