code: def generic_parser(parse_func, *cols):
      N = _check_columns(cols)
      results = np.empty(N, dtype=object)
  
      for i in range(N):
          args = [c[i] for c in cols]
          results[i] = parse_func(*args)
  
      return results
  
file_path: catboost/contrib/python/pandas/py2/pandas/io/date_converters.py
imports: import numpy
  from pandas._libs.tslibs import parsing
  from pandas.compat import map, range
label_desc: Use image node_id 4 for calling a global function with example usage: generic_parser(parse_func) and returns: results