We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0227e69 commit 62429aeCopy full SHA for 62429ae
pandas/core/generic.py
@@ -4786,7 +4786,7 @@ def sample(
4786
frac : float, optional
4787
Fraction of axis items to return. Cannot be used with `n`.
4788
replace : bool, default False
4789
- Sample with or without replacement.
+ Allow or disallow sampling of the same row more than once.
4790
weights : str or ndarray-like, optional
4791
Default 'None' results in equal probability weighting.
4792
If passed a Series, will align with target object on index. Index
0 commit comments