# scipy.sparse.spmatrix.asformat

spmatrix.asformat(format, copy=False)

  Return this matrix in the passed format.

  Parameters
    format{str, None}

      The desired matrix format (“csr”, “csc”, “lil”, “dok”, “array”, …) or None for no conversion.

    copy bool, optional

      If True, the result is guaranteed to not share data with self.

  Returns
    A This matrix in the passed format.

scipy.sparse.spmatrix.__mul__ scipy.sparse.spmatrix.asfptype