def remove_non_magic_cols ( self ) : for table_name in self . tables : table = self . tables [ table_name ] table . remove_non_magic_cols_from_table ( )
delete all columns except one in python
Remove all non - MagIC columns from all tables .
def remove_non_magic_cols(self):
        """
        Remove all non-MagIC columns from all tables.
        """
        for table_name in self.tables:
            table = self.tables[table_name]
            table.remove_non_magic_cols_from_table()