你的max是从哪来的?不是叫ax吗?
import numpy as np data1 = (273, 23, 9482, 878, 98, 8) max = np.max(data1) print("Max:{0:d}".format(max)) # Max:9482