参考:
《Machine Learning In Action》
############################################################
str.split函数:
help(str.split)
a="as df g" a.split() #没有参数时默认分割空格
a="as df g" a.split(" ", 1) #也可指定分割次数
##################################################
numpy.split函数:
from numpy import * help(split)
可用于分割数组
from numpy import * x=array(range(9)) split(x, 3) split(x, [2,5,6])