code: def _set_pandas_dtype(df, columns, dtype, verbose=None):
      """Try to set the right columns to dtype."""
      for column in columns:
          df[column] = df[column].astype(dtype)
          logger.info('Converting "%s" to "%s"...' % (column, dtype))
  
file_path: mne-python/mne/utils/dataframe.py
imports: from inspect import signature
  import numpy
  from ..defaults import _handle_default
  from ._logging import logger, verbose
label_desc: Use image node_id 1 for calling a global function with example usage: _set_pandas_dtype(df, columns, dtype, verbose) without return types