code: def cummax(
      values: np.ndarray,
      mask: npt.NDArray[np.bool_],
      *,
      skipna: bool = True,
  ):
      return _cum_func(
          np.maximum.accumulate, values, mask, skipna=skipna
      )
  
file_path: catboost/contrib/python/pandas/py3/pandas/core/array_algos/masked_accumulations.py
imports: from __future__ import annotations
  from typing import Callable
  import numpy
  from pandas._typing import npt
  from pandas.core.dtypes.common import is_bool_dtype, is_float_dtype, is_integer_dtype
label_desc: Use image node_id 5 for calling a global function with example usage: cummax(values, mask) and returns: _cum_func