Problem python axis, axis = 1? axis = 0, the easiest

axis = 1, the horizontal axis, the direction from left to right, the array is horizontal change, reflecting the increased column

axis = 0, and the vertical axis, the direction from top to bottom, the column is a pig changes, reflecting the increase in horizontal

Guess you like

Origin www.cnblogs.com/ljt102700/p/11711704.html