diff --git a/docs/reference-nb/datascience-reference.ipynb b/docs/reference-nb/datascience-reference.ipynb index df5675b20..17ab3e6f0 100644 --- a/docs/reference-nb/datascience-reference.ipynb +++ b/docs/reference-nb/datascience-reference.ipynb @@ -4126,10 +4126,10 @@ "### `tbl.sample()`\n", "\n", "```python\n", - "tbl.sample(n, with_replacement=True)\n", + "tbl.sample(k, with_replacement=True)\n", "```\n", "\n", - "Returns a new table with `n` rows that were randomly sampled from the original table. If `with_replacement` is true, sampling occurs with replacement. For sampling without replacement, set `with_replacement=False`.\n" + "Returns a new table with `k` rows that were randomly sampled from the original table. If `with_replacement` is true, sampling occurs with replacement. For sampling without replacement, set `with_replacement=False`.\n" ] }, {