code: def mean(self, axis=0, skipna=True, numeric_only=None, **kwargs):
      _array = ivy.astype(self.array, ivy.default_float_dtype())
      axis = 0 if axis == "index" else 1 if axis == "columns" else axis
      if skipna:
          ret = ivy.nanmean(_array, axis=axis)
      else:
          ret = _array.mean(axis=axis)
      if axis is None:
          return ret  # scalar case
      return Series(
          ret,
          index=Index(self.columns)
          if axis in (0, "index")
          else self.index,
      )
  
file_path: ivy/ivy/functional/frontends/pandas/dataframe.py
imports: from .generic import NDFrame
  import ivy
  from .series import Series
  from ivy.functional.frontends.pandas.index import Index
label_desc: Use image node_id 6 for calling the DataFrame obj's underlying member method code with example usage: obj.mean(axis, skipna, numeric_only) and returns: Series, ret