parameters: (self, col_index, remove_from)
return_statement: return removed_cols
docstring: Remove the column index from all lists
          :param col_index: The column index to be removed
          :type remove_from: list[list[Union[int, ErrorColumn]]]
          :param remove_from: List of lists from which the column index will be removed
          :return:
docstring_summary: Remove the column index from all lists
          :param col_index: The column index to be removed
          :type remove_from: list[list[Union[int, ErrorColumn]]]
          :param remove_from: List of lists from which the column index will be removed
          :return:
docstring_tokens: Remove the column index from all lists : param col_index : The column index to be removed : type remove_from : list [ list [ Union [ int ErrorColumn ]]] : param remove_from : List of lists from which the column index will be removed : return :
function: def _remove(self, col_index, remove_from):
          """
          Remove the column index from all lists
          :param col_index: The column index to be removed
          :type remove_from: list[list[Union[int, ErrorColumn]]]
          :param remove_from: List of lists from which the column index will be removed
          :return:
          """
          removed_cols = []
          for list in remove_from:
              try:
                  # remove all (for error cols there could be more than one match)
                  for _ in range(list.count(col_index)):
                      list_index = list.index(col_index)
                      col_to_remove = list.pop(list_index)
                      if col_to_remove not in removed_cols:
                          removed_cols.append(col_to_remove)
              except ValueError:
                  # column not in this list, but might be in another one so we continue the loop
                  continue
          return removed_cols
function_tokens: def _remove ( self , col_index , remove_from ) : removed_cols = [ ] for list in remove_from : try : # remove all (for error cols there could be more than one match) for _ in range ( list . count ( col_index ) ) : list_index = list . index ( col_index ) col_to_remove = list . pop ( list_index ) if col_to_remove not in removed_cols : removed_cols . append ( col_to_remove ) except ValueError : # column not in this list, but might be in another one so we continue the loop continue return removed_cols