trim_rows function

Trim rows from a populated table without regard for table structure