Numpyで行列の連結 - Qiita

【追記】 学生のときに血迷ってこのようなメモを書きましたが、冷静にnp.concatenateを使って下さい: https://docs.scipy.org/doc/numpy/reference/…