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
`pivot` reshapes unique values only, while `pivot_table` can aggregate duplicates.
`pivot` reshapes unique values only, while `pivot_table` can aggregate duplicates.
pivot vs pivot_table in pandas