BUG: pivot_table bug when rows is unspecified #3361