pd.DataFrame.pivot
¶
pandas.DataFrame.pivot(values=None, index=None, columns=None)
Supported Arguments¶
values
: Constant Column Label or list of labelsindex
: Constant Column Label or list of labelscolumns
: Constant Column Label
Note
The the number of columns and names of the output DataFrame won't be known at compile time. To update typing information on DataFrame you should pass it back to Python.