code: def _assign_col_names(col_names, df_dict):
      """Assign column names to dataframes.
  
      Parameters
      ----------
      col_names : dict
          Dictionary of column names for each dataframe.
      """
      for key, df in df_dict.items():
          if key in ("samples", "blinks", "fixations", "saccades"):
              df.columns = col_names[key]
          elif key == "messages":
              cols = ["time", "offset", "event_msg"]
              df.columns = cols
      return df_dict
  
imports: import re
  from datetime import datetime, timedelta, timezone
  import numpy
  from ..._fiff.constants import FIFF
  from ..._fiff.meas_info import create_info
  from ...annotations import Annotations
  from ...utils import _check_pandas_installed, logger, warn
label_desc: Use image node_id 11 for calling a global function with example usage: _assign_col_names(col_names, df_dict) and returns: df_dict