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
<dt><strong>counts</strong><spanclass="classifier">1-D array_like</span></dt><dd><p>Vector of counts (integers) to randomly subsample from.</p>
706
+
<dt><strong>counts</strong><spanclass="classifier">1-D array_like</span></dt><dd><p>Vector of counts (integers or floats) to randomly subsample from.</p>
707
707
</dd>
708
708
<dt><strong>n</strong><spanclass="classifier">int</span></dt><dd><p>Number of items to subsample from <cite>counts</cite>. Must be less than or equal
709
709
to the sum of <cite>counts</cite>.</p>
710
710
</dd>
711
711
<dt><strong>replace</strong><spanclass="classifier">bool, optional</span></dt><dd><p>If <codeclass="docutils literal notranslate"><spanclass="pre">True</span></code>, subsample with replacement. If <codeclass="docutils literal notranslate"><spanclass="pre">False</span></code> (the default),
712
712
subsample without replacement.</p>
713
713
</dd>
714
+
<dt><strong>seed</strong><spanclass="classifier">int or np.random.Generator, optional</span></dt><dd><p>A user-provided random seed or random generator instance.</p>
0 commit comments