Stack sparse matrices vertically (row wise)
blocks :
sequence of sparse matrices with compatible shapes
format : string
sparse format of the result (e.g. “csr”) by default an appropriate sparse matrix format is returned. This choice is subject to change.
scipy.sparse.hstack
scipy.sparse.issparse