change method of pivot table rendering

In this way of pivot table rendering, it is possible to remove
"empty" columns & rows from the table. This is akin to using the "\"
operator as opposed to "*"