摘要:
label = 'line' l1, = plt.plot(x, y1, label = 'line') plot的时候设置lable l2, = plt.plot(x, y2, label = 'parabola', color = 'red', l... 阅读全文
摘要:
plot.line 加个title, 加个图标legend bodyPart1['dis'].plot.line(style = 'r')bodyPart2['dis'].plot.line(style = 'g')bodyPart3['dis'].... 阅读全文
摘要:
help(pd.DataFrame.plot) lines = bodyPart1['dis'].plot.line(x='pig', y='horse') 参考: https://blog.csdn.net/h_hxx/article/details... 阅读全文
摘要:
pandas每一列都执行相同的函数 apply函数。 我的需求: (1)第三列,是第一列和第二列的平方和,开根号。 df['TotalScore'] = df['Score'] + df['ExtraScore'] #只能用加法...因为加法运算... 阅读全文
摘要:
直接去github网站上看就好了 阅读全文
摘要:
转换完之后,为啥是10*10啊?一个数字不应该是1*10嘛? 神奇,有重新运行了一遍,正常了... 阅读全文