code: def _message_with_time(source, message, time):
      """Create one line message for logging purposes.
      Parameters
      ----------
      source : str
          String indicating the source or the reference of the message.
      message : str
          Short message.
      time : int
          Time in seconds.
      """
      start_message = "[%s] " % source
  
      # adapted from joblib.logger.short_format_time without the Windows -.1s
      # adjustment
      if time > 60:
          time_str = "%4.1fmin" % (time / 60)
      else:
          time_str = " %5.1fs" % time
      end_message = " %s, total=%s" % (message, time_str)
      dots_len = 70 - len(start_message) - len(end_message)
      return "%s%s%s" % (start_message, dots_len * ".", end_message)
  
imports: from ..preprocessing import FunctionTransformer
  from ....thirdparty_adapters import check_array
  from ..utils.validation import check_is_fitted
  from ..utils.skl_dependencies import TransformerMixin, BaseComposition, BaseEstimator
  from cuml.internals import _deprecate_pos_args
  from cuml.internals.array_sparse import SparseCumlArray
  from cuml.internals.global_settings import _global_settings_data
  import cuml
  from itertools import chain
  from itertools import compress
  from joblib import Parallel
  import functools
  import timeit
  import numbers
  from cuml.internals.import_utils import has_sklearn
  from contextlib import contextmanager
  from collections import defaultdict
  import warnings
  from cuml.internals.safe_imports import cpu_only_import_from
  from cuml.internals.safe_imports import gpu_only_import_from
  from cuml.internals.safe_imports import cpu_only_import
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 13 for calling a global function with example usage: _message_with_time(source, message, time) and returns: unknown