import numpy as np import pandas as pd import matplotlib.pyplot as plt ser=pd.Series(np.random.randn(10).cumsum(),index=np.arange(0,100,10)) ser.plot(kind='line',figsize=(4,3),title='pandas_plot',grid=True,fontsize=16,legend=True,label='label') plt.show()
数据分析~pandas画图
最新推荐文章于 2024-04-30 15:37:41 发布