parameters: (a)
return_statement: return ndim(a)
docstring: Return the number of dimensions of an array.
  
      .. note::
          This function is deprecated in NumPy 1.9 to avoid confusion with
          `numpy.linalg.matrix_rank`. The ``ndim`` attribute or function
          should be used instead.
  
      See Also
      --------
      ndim : equivalent non-deprecated function
  
      Notes
      -----
      In the old Numeric package, `rank` was the term used for the number of
      dimensions, but in NumPy `ndim` is used instead.
docstring_summary: Return the number of dimensions of an array.
docstring_tokens: Return the number of dimensions of an array .
function: def rank(a):
      """
      Return the number of dimensions of an array.
  
      .. note::
          This function is deprecated in NumPy 1.9 to avoid confusion with
          `numpy.linalg.matrix_rank`. The ``ndim`` attribute or function
          should be used instead.
  
      See Also
      --------
      ndim : equivalent non-deprecated function
  
      Notes
      -----
      In the old Numeric package, `rank` was the term used for the number of
      dimensions, but in NumPy `ndim` is used instead.
      """
      # 2014-04-12, 1.9
      warnings.warn(
          "`rank` is deprecated; use the `ndim` attribute or function instead. "
          "To find the rank of a matrix see `numpy.linalg.matrix_rank`.",
          VisibleDeprecationWarning, stacklevel=2)
      return ndim(a)
function_tokens: def rank ( a ) : # 2014-04-12, 1.9 warnings . warn ( "`rank` is deprecated; use the `ndim` attribute or function instead. " "To find the rank of a matrix see `numpy.linalg.matrix_rank`." , VisibleDeprecationWarning , stacklevel = 2 ) return ndim ( a )