Skip to content

add support for .sort_values #958

@jreback

Description

@jreback

so this allows sub-sorting

e.g.

ddf = dd.DataFrame(....)
ddf = ddf.set_index('stock')
ddf = ddf.map_partitions(lambda x: x.sort_values('date'))

this is conceptually the same as (in pandas)

df = pd.DataFrame(....)
df = df.set_index(['stock,'date']).sort_index()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions