Skip to content

v1.2.0

Choose a tag to compare

@jgrss jgrss released this 31 Oct 22:46
· 20 commits to main since this release
4f4ac3d

Code changes

  • Replaced while sampling loop with more efficient indexing (#2)

New sampling options

  • Specify the number of samples per grid (#2)
# Randomly sample 50 grids, with 2 samples per grid
samp_df = qt.sample(n=50, samples_per_grid=2)
  • Stratify by column (#2)
samp_df = qt.sample(n=50, strata_column='strata')