Both pivot_table and groupby are used to aggregate your dataframe.
If you want to get SQL style of aggregation, groupby is the way to go.
Both
If you want to get SQL style of aggregation, groupby is the way to go.
Both
pivot_table
and groupby
are used to aggregate your dataframe. The difference is only with regard to the shape of the result.
No comments:
Post a Comment