code: def mean(
      values: np.ndarray,
      mask: npt.NDArray[np.bool_],
      *,
      skipna: bool = True,
      axis: AxisInt | None = None,
  ):
      if not values.size or mask.all():
          return libmissing.NA
      return _reductions(
          np.mean, values=values, mask=mask, skipna=skipna, axis=axis
      )
  
file_path: catboost/contrib/python/pandas/py3/pandas/core/array_algos/masked_reductions.py
imports: from __future__ import annotations
  from typing import Callable
  import warnings
  import numpy
  from pandas._libs import missing
  from pandas._typing import AxisInt, npt
  from pandas.core.nanops import check_below_min_count
label_desc: Use image node_id 7 for calling a global function with example usage: mean(values, mask) and returns: _reductions, libmissing