Skip to content

Add shuffling behavior / utility method #9159

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
cancan101 opened this issue Dec 27, 2014 · 1 comment
Closed

Add shuffling behavior / utility method #9159

cancan101 opened this issue Dec 27, 2014 · 1 comment
Labels
API Design Duplicate Report Duplicate issue or pull request

Comments

@cancan101
Copy link
Contributor

Ideally some utility method that works to shuffle both dataframes, series and numpy arrays.

For example to shuffle a Dataframe: df.ix[shuffle(df.index)].

See scikit-learn/scikit-learn#4008 for discussion.

@cancan101 cancan101 changed the title Add shuffling behavior Add shuffling behavior / utility method Dec 27, 2014
@jreback
Copy link
Contributor

jreback commented Dec 27, 2014

see #7274 (and the original issue #2419 )

closing as a dupe

@jreback jreback closed this as completed Dec 27, 2014
@jreback jreback added Duplicate Report Duplicate issue or pull request API Design labels Dec 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Design Duplicate Report Duplicate issue or pull request
Projects
None yet
Development

No branches or pull requests

2 participants