code: def justify(texts, max_len, mode="right"):
      """
      Perform ljust, center, rjust against string or list-like
      """
      if mode == "left":
          return [x.ljust(max_len) for x in texts]
      elif mode == "center":
          return [x.center(max_len) for x in texts]
      else:
          return [x.rjust(max_len) for x in texts]
  
file_path: catboost/contrib/python/pandas/py2/pandas/io/formats/printing.py
imports: import sys
  from pandas.compat import u
  from pandas.core.dtypes.inference import is_sequence
  from pandas import compat
  from pandas.core.config import get_option
label_desc: Use image node_id 2 for calling a global function with example usage: justify(texts, max_len, mode) and returns: unknown, unknown, unknown