Skip to content

Add shuffling behavior / utility method #9159

Closed
@cancan101

Description

@cancan101

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions