DataFrame pivot_table, groupby, filter and query

pivot_table

groupby

Filter

Query