code: def import_from(module, name):
      """
      usage example:
      grid = import_from('sklearn.model_selection', 'GridSearchCV')
      is equivalent to:
      from sklearn.model_selection import GridSearchV as grid
      """
      module = importlib.import_module(module)
      return getattr(module, name)
  
imports: import logging
  import importlib
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: import_from(module, name) and returns: getattr