8000 Misleading documentation: utils.resample and utils.shuffle do not return views. · Issue #10156 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

Misleading documentation: utils.resample and utils.shuffle do not return views. #10156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
freud14 opened this issue Nov 16, 2017 · 2 comments
Closed

Comments

@freud14
Copy link
freud14 commented Nov 16, 2017

Description

As mentioned in #7754, utils.resample and utils.shuffle produce copies of the input, not views, whereas the doc says that they produce views:

Steps/Code to Reproduce

Expected Results

Actual Results

Versions

@amueller
Copy link
Member

Yeah, that looks misleading. PR welcome.

Closed by #10162.

@lesteve lesteve closed this as completed Nov 17, 2017
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

No branches or pull requests

3 participants
0