Skip to content

Conversation

@jedwin3210
Copy link
Member

@jedwin3210 jedwin3210 commented Oct 29, 2025

  • Wrote test for feature
  • Added changes to CHANGELOG.md
  • Bumped version number (delete if unneeded)

Changes proposed:

  • Add optional seed parameter to sample_proportions() and proportions_from_distribution()

  • Fix column_name parameter bug in proportions_from_distribution()

- Add optional seed parameter to sample_proportions() and proportions_from_distribution()

- Fix column_name parameter bug in proportions_from_distribution()
@coveralls
Copy link

coveralls commented Oct 29, 2025

Coverage Status

coverage: 95.051%. remained the same
when pulling b465473 on jedwin3210:edwin/issue_660
into 0e9a6f0 on data-8:master.

@sean-morris
Copy link

@jedwin3210 Thanks for rolling this so quickly. It looks great to me. I added @pancakereport as a reviewer

Copy link
Contributor

@pancakereport pancakereport left a comment

Choose a reason for hiding this comment

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

Thanks Edwin, looks good.

My quick poking around the code shows that this is the only instance of np.random.default_rng()

@pancakereport
Copy link
Contributor

Actually - I think we should bump the version number.

@pancakereport pancakereport merged commit 7af1472 into data-8:master Oct 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants