parameters: (source)
return_statement: return MMFile().read(source)
docstring: Reads the contents of a Matrix Market file-like 'source' into a matrix.
  
      Parameters
      ----------
      source : str or file-like
          Matrix Market filename (extensions .mtx, .mtz.gz)
          or open file-like object.
  
      Returns
      -------
      a : ndarray or coo_matrix
          Dense or sparse matrix depending on the matrix format in the
          Matrix Market file.
docstring_summary: Reads the contents of a Matrix Market file-like 'source' into a matrix.
docstring_tokens: Reads the contents of a Matrix Market file - like source into a matrix .
function: def mmread(source):
      """
      Reads the contents of a Matrix Market file-like 'source' into a matrix.
  
      Parameters
      ----------
      source : str or file-like
          Matrix Market filename (extensions .mtx, .mtz.gz)
          or open file-like object.
  
      Returns
      -------
      a : ndarray or coo_matrix
          Dense or sparse matrix depending on the matrix format in the
          Matrix Market file.
      """
      return MMFile().read(source)
function_tokens: def mmread ( source ) : return MMFile ( ) . read ( source )