code: def mminfo(source):
      """
      Return size and storage parameters from Matrix Market file-like 'source'.
  
      Parameters
      ----------
      source : str or file-like
          Matrix Market filename (extension .mtx) or open file-like object
  
      Returns
      -------
      rows : int
          Number of matrix rows.
      cols : int
          Number of matrix columns.
      entries : int
          Number of non-zero entries of a sparse matrix
          or rows*cols for a dense matrix.
      format : str
          Either 'coordinate' or 'array'.
      field : str
          Either 'real', 'complex', 'pattern', or 'integer'.
      symmetry : str
          Either 'general', 'symmetric', 'skew-symmetric', or 'hermitian'.
      """
      return MMFile.info(source)
  
imports: import os
  import sys
  from numpy import asarray, real, imag, conj, zeros, ndarray, concatenate, ones, can_cast
  from scipy.sparse import coo_matrix, isspmatrix
label_desc: Use image node_id 2 for calling a global function with example usage: mminfo(source) and returns: MMFile