Skip to content

Commit 382089b

Browse files
authored
Fix contradicting argument name in tbl.sample() docs (n -> k) (#635)
1 parent 0385222 commit 382089b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/reference-nb/datascience-reference.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4126,10 +4126,10 @@
41264126
"### `tbl.sample()`\n",
41274127
"\n",
41284128
"```python\n",
4129-
"tbl.sample(n, with_replacement=True)\n",
4129+
"tbl.sample(k, with_replacement=True)\n",
41304130
"```\n",
41314131
"\n",
4132-
"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"
4132+
"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"
41334133
]
41344134
},
41354135
{

0 commit comments

Comments
 (0)