Skip to content

Rename split parameter to first_n - #681

Open
yyr-465 wants to merge 1 commit into
data-8:masterfrom
yyr-465:rename-split-parameter-first-n
Open

Rename split parameter to first_n#681
yyr-465 wants to merge 1 commit into
data-8:masterfrom
yyr-465:rename-split-parameter-first-n

Conversation

@yyr-465

@yyr-465 yyr-465 commented Aug 1, 2026

Copy link
Copy Markdown

Fixes #633.

Renames the Table.split parameter from k to first_n to avoid confusion with k in k-NN examples. The behavior stays the same.

Verified:

  • table.split(3) returns 3 sampled rows and 7 remaining rows for a 10-row table
  • invalid split values still raise ValueError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

split method parameter

1 participant