pivot vs pivot_table in pandas
`pivot` reshapes unique values only, while `pivot_table` can aggregate duplicates.
- pivot needs unique index-column pairs
- pivot_table accepts aggfunc
- pivot_table is safer for real data
pivot vs pivot_table in pandas
Tagged with reshaping
`pivot` reshapes unique values only, while `pivot_table` can aggregate duplicates.
pivot vs pivot_table in pandas
`explode` turns each item in a list-like cell into its own row while repeating the other column values.
What does explode do in pandas?