随笔分类 -  计量作业

摘要:concat s1=pd.Series([0,1],index=['a','b']) s2=pd.Series([2,3,4],index=['c','d','e']) s3=pd.Series([5,6],index=['f','g']) In[4]: pd.concat([s1,s2,s3])# 阅读全文
posted @ 2020-12-14 11:19 celine227 阅读(160) 评论(0) 推荐(0)
摘要:区分figure和axes figure 是作图时给你的一个大画板,而 axes 是在这个画板上的很多幅画布(子图),绘制的所有图都在画布(axes)上。 *plt.figure 通常我们创建图形时,首先会用 fig = plt.figure() 创建一个 “画板”,并定义画板名称为 fig,此时画 阅读全文
posted @ 2020-10-16 16:13 celine227 阅读(166) 评论(0) 推荐(0)