Skip to content

groupby derived columns #392

Open
Open
@nilshg

Description

@nilshg

Related to #383 it would be nice to be able to group by the result of functions applied to columns. The most common case for me is:

df.year = year.(df.date)
groupby(df, :year)

It would be nice to just do

@groupby df :date => year

(Syntax TBD of course)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions