split/vsplit/hsplit是numpy的方法,需要用numpy.split形式调用
import numpy as np
a=np.arange(12).reshape(3,4)
np.split(a,3,axis=0)
np.vsplit(a,3)与上述同样效果