code: def justify(
      texts: Iterable[str], max_len: int, mode: str = "right"
  ) -> list[str]:
      """
      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/py3/pandas/io/formats/printing.py
imports: from __future__ import annotations
  import sys
  from typing import Any, Callable, Dict, Iterable, Mapping, Sequence, TypeVar, Union
  from pandas._config import get_option
  from pandas.core.dtypes.inference import is_sequence
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