1.代码1: from pandas import Series,DataFrame from numpy.random import randn import numpy as np import matplotlib.pyplot as plt #随机产生的数值,5组10行,每次打开图形都会变,所以没什么意义. df = DataFrame(abs(randn(10,5)),columns=['A','B','C','D','E'],index = np.arange(0,100,10))…