code: def extract_column_index_by_name(
      columns, column_indexes, name, drop=True
  ):
      try:
          idx = columns.index(name)
          ret = column_indexes[idx]
          if drop:
              columns.pop(idx)
              column_indexes.pop(idx)
  
          return ret
      except ValueError:
          raise ValueError(f"{name} does not exist in {columns}")
  
imports: import copy
  from typing import List, Union
  import pandas
  from .utils import AnonymousGenerator
label_desc: Use image node_id 14 for calling the SchemaManager obj's underlying member method code with example usage: obj.extract_column_index_by_name(columns, column_indexes, name, drop) and returns: ret