Skip to content

Request - wrapdims - fill missing cells with missing  #154

Description

@Lincoln-Hannah

Currently wrapdims fills missing cells with some very large number. Example below.
Could these be replaced by 'missing' or some specified value.

df = DataFrame( x=[1,1,2], y=[1,2,1], data=[10,11,12])

wrapdims(df, :data, :x, :y )

ka(2,2)   #=2800920006512

Use Case
I would then use coalesce to fill missings with some value (unique to each cell). Then convert back to a DataFrame.
This could all be done with DataFrame functions (groupby etc) but a KeyedArray is more elegant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions