I have a python method that selects the contents I want from a table then replaces that table with the selected contents.
Here is the method:
def clea