numpy中的max()函数 1.ndarray.max([int axis]) 函数功能:求ndarray中指定维度的最大值,默认求所有值的最大值。 axis=0:求各column的最大值 axis=1:求各row的最大值