ENH/BUG: allow pivot tables to downcast the output (e.g. float -> int)
         if possible
Merge pull request #3286 from jreback/GH3283

ENH/BUG: GH3283 allow pivot tables to downcast the output (e.g. float -> int) if possible