Concatenate

  • + 0 comments

    import numpy as np

    n, m, p = map(int, input().strip().split())

    arr_1 = np.array([input().strip().split() for _ in range(n)], dtype=np.int32) arr_2 = np.array([input().strip().split() for _ in range(m)], dtype=np.int32)

    print(np.concatenate((arr_1, arr_2), axis=0))