code: def sum(
      self,
      axis=None,
      skipna=True,
      numeric_only=False,
      min_count=0,
      **kwargs,
  ):
      _array = self.array
      if min_count > 0:
          if ivy.has_nans(_array):
              number_values = _array.size - ivy.sum(ivy.isnan(_array))
          else:
              number_values = _array.size
          if min_count > number_values:
              return ivy.nan
      if skipna:
          return ivy.nansum(_array)
      return _array.sum()
  
file_path: ivy/ivy/functional/frontends/pandas/series.py
imports: import ivy
  from .generic import NDFrame
label_desc: Use image node_id 6 for calling the Series obj's underlying member method code with example usage: obj.sum(axis, skipna, numeric_only, min_count) and returns: _array, ivy, ivy