I am trying to stack 3 sparse matrices vertically. But the following code is giving an error: TypeError: vstack() got multiple values for argument 'format'.
X_te = sparse.vstack((X1[teidx], X0_tr[teidx]), X0_te, format='csr') # merge the data
What's wrong with this code?