ENH: Have pivot and pivot_table take similar arguments
Merge pull request #5505 from jsexauer/fix5505

ENH: Have pivot and pivot_table take similar arguments