Enter search terms or a module, class or function name.
pandas.pivot(index,columns,values)[source]¶Produce ‘pivot’ table based on 3 columns of this DataFrame.Uses unique values from index / columns and fills with values.
| Parameters: | index : ndarray
columns : ndarray
values : ndarray
|
|---|---|
| Returns: | DataFrame |
Notes
Obviously, all 3 of the input arguments must have the same length