code: def _locate_column(self, col):
      col_idx = None
      for i, col0 in enumerate(self._columns):
          if col0 is col:
              col_idx = i
              break
      if col_idx is None:
          raise WrongArgumentError(f"Column is not found: {col}")
      return col_idx
  
imports: import copy
  import pandas
  from mindsdb.api.executor.exceptions import WrongArgumentError
label_desc: Use image node_id 8 for calling the ResultSet obj's underlying member method code with example usage: obj._locate_column(col) and returns: col_idx