Please use `import scipy.sparse as sp` so that `vstack` is qualified as `sp.vstack`.