Added table formating function for pando tables