import numpy as np a=np.array([[ 1000, 100, 10, 1], [35, 9, 1, 5], [22, 12, 3, 2]]) b=np.log10(a) print(b)
结果为