Skip to content

Consider using .pivot_table instead of groupby/aggs #111

@justalfred

Description

@justalfred

https://pandas.pydata.org/pandas-docs/stable/user_guide/reshaping.html#pivoting-with-single-aggregations

Pros:

  • most people know Excel, so this is a closer analogy than .groupby()...
  • the syntax is tighter

Cons:

  • I use it less, so I don't know the edge cases to watch out for.

Any other considerations?

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorsignificant refactoring of content or supporting infrastructure

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions