docstr: ivy.Array instance method variant of ivy.median. This method simply
  wraps the function, and so the docstring for ivy.median also applies to
  this method with minimal changes.
  
  Parameters
  ----------
  self
      Input array.
  axis
      Axis or axes along which the medians are computed. The default is to compute
      the median along a flattened version of the array.
  keepdims
      If this is set to True, the axes which are reduced are left in the result
      as dimensions with size one.
  out
      optional output array, for writing the result to.
  
  Returns
  -------
  ret
      The median of the array elements.
  
  Examples
  --------
  >>> a = ivy.array([[10, 7, 4], [3, 2, 1]])
  >>> a.median()
  3.5
  >>> a.median(axis=0)
  ivy.array([6.5, 4.5, 2.5])
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.median",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.median","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","Input","array",".","axis","Axis","or","axes","along","which","the","medians","are","computed",".","The","default","is","to","compute","the","median","along","a","flattened","version","of","the","array",".","keepdims","If","this","is","set","to","True",",","the","axes","which","are","reduced","are","left","in","the","result","as","dimensions","with","size","one",".","out","optional","output","array",",","for","writing","the","result","to",".","Returns","--","--","--","-","ret","The","median","of","the","array","elements",".","Examples","--","--","--","--",">",">",">","a","=","ivy.array","(","[","[","10",",","7",",","4","]",",","[","3",",","2",",","1","]","]",")",">",">",">","a.median","(",")","3.5",">",">",">","a.median","(","axis=0",")","ivy.array","(","[","6.5",",","4.5",",","2.5","]",")"]
code: def median(
      self: ivy.Array,
      /,
      *,
      axis: Optional[Union[Tuple[int], int]] = None,
      keepdims: bool = False,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """ivy.Array instance method variant of ivy.median. This method simply
      wraps the function, and so the docstring for ivy.median also applies to
      this method with minimal changes.
  
      Parameters
      ----------
      self
          Input array.
      axis
          Axis or axes along which the medians are computed. The default is to compute
          the median along a flattened version of the array.
      keepdims
          If this is set to True, the axes which are reduced are left in the result
          as dimensions with size one.
      out
          optional output array, for writing the result to.
  
      Returns
      -------
      ret
          The median of the array elements.
  
      Examples
      --------
      >>> a = ivy.array([[10, 7, 4], [3, 2, 1]])
      >>> a.median()
      3.5
      >>> a.median(axis=0)
      ivy.array([6.5, 4.5, 2.5])
      """
      return ivy.median(
          self._data, axis=axis, keepdims=keepdims, out=out
      )
  
file_path: ivy/ivy/data_classes/array/experimental/statistical.py
imports: import abc
  from typing import Optional, Union, Tuple, Sequence
  import ivy
label_desc: Use image node_id 2 for calling the _ArrayWithStatisticalExperimental obj's underlying member method code with example usage: obj.median() and returns: ivy