What is the sense for axis when splitting array?
Advertisements I can’t understand sense of axis parameter. I will explain the problem. code: np.split(b1,[1,3],axis=0) results: [array([[1, 2, 3, 4]]), array([[ 5, 6, 7, 8], [ 9, 10, 11, 12]]), array([[13, 14, 15, 16], [17, 18, 19, 20]])] code: np.split(b1,[1,3],axis=1) results: [array([[ 1], [ 5], [ 9], [13], [17]]), array([[ 2, 3], [ 6, 7],… Read More What is the sense for axis when splitting array?