感觉numpy.hstack()和numpy.column_stack()函数略有相似,numpy.vstack()与numpy.row_stack()函数也是挺像的. stackoverflow上也有类似的讨论,在这里numpy vstack vs. column_stack. 给一个相关函数的列表: stack() Join a sequence of arrays along a new axis. hstack() Stack arrays in sequence horiz
1.Python数学函数 1.abs(x):取绝对值,内建函数 2.math.ceil(x):向上取整,在math模块中 3.cmp(x,y):如果 x < y ,返回-1:如果 x == y ,返回0:如果 x > y ,返回1.内建函数 4.math.exp(x):在math模块中 5.math.fabs(x):返回数字的绝对值,在math模块中 6.math.floor(x):向下取整,在math模块中 7.math.log10(x):返回以10为底数的x的对数,在math模块中 8.m