code: def df_names_to_idx(names:IntsOrStrs, df:DataFrame):
      "Return the column indexes of `names` in `df`."
      if not is_listy(names): names = [names]
      if isinstance(names[0], int): return names
      return [df.columns.get_loc(c) for c in namesf df_names_to_idx(names:IntsOrStrs, df:DataFrame):
      "Return the column indexes of `names` in `df`."
      if not is_listy(names): names = [names]
      if isinstance(names[0], int): return names
      return [df.columns.get_loc(c) for c in names]
docs: Return the column indexes of `names` in `df`.