Skip to content

Conversation

@Omarr-kh
Copy link
Contributor

@Omarr-kh Omarr-kh commented May 17, 2025

Fixes #625
[ ] Wrote test for feature
[ ] Added changes to CHANGELOG.md

Changes proposed:
This PR fixes a documentation inconsistency in the .sample() method. The argument name in the documentation was listed as n, which contradicts the actual function signature and docstring that use k.

@davidwagner
Copy link
Member

Looks reasonable to me, but I'd like to wait until we get the continuous integration fixed so we can be sure the tests are passing, before I merge this. Sorry about the delay, and thank you for the pull request.

@@ -6488,4 +6488,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
Copy link
Member

Choose a reason for hiding this comment

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

nit: Ideally we should revert this change.

@adnanhemani
Copy link
Member

@Omarr-kh can you please fix the nit and repush? I believe the CI/CD should be fixed now!

@Omarr-kh
Copy link
Contributor Author

@adnanhemani It should be fixed now.

@coveralls
Copy link

coveralls commented May 27, 2025

Coverage Status

coverage: 94.976%. remained the same
when pulling 1041e17 on Omarr-kh:update-docs
into d3b75b3 on data-8:master.

Copy link
Member

@adnanhemani adnanhemani left a comment

Choose a reason for hiding this comment

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

LGTM - thank you for this change!

@adnanhemani adnanhemani merged commit 382089b into data-8:master May 27, 2025
2 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.

Contradicting .sample() argument in documentation

4 participants