# dask.dataframe.DataFrame.pivot_table

#### DataFrame.pivot_table(index, columns, values, aggfunc='mean')

Create a spreadsheet-style pivot table as a DataFrame. Target `columns`
must have category dtype to infer result’s `columns`.
`index`, `columns`, `values` and `aggfunc` must be all scalar.

* **Parameters:**
  **values**
  : column to aggregate

  **index**
  : column to be index

  **columns**
  : column to be columns

  **aggfunc**
* **Returns:**
  **table**

<!-- !! processed by numpydoc !! -->
