In docs DataFrame.pivot is a bit unclear, what means object:
index : string or object, optional
Column name to use to make new frame’s index. If None, uses existing index.
columns : string or object
Column name to use to make new frame’s columns
values : string or object, optional
Is it Multiindex ? Or None ? Or Series?
SO question
In docs DataFrame.pivot is a bit unclear, what means object:
Is it
Multiindex? OrNone? OrSeries?SO question