02 2019 档案
摘要:1.上一章绘制一幅最简单的图像,这一章介绍figure的详细用法,figure用于生成图像窗口的方法,并可以设置一些参数 2.先看此次生成的图像: 3.代码(代码中有详细的注释) 参考文章地址:https://morvanzhou.github.io/tutorials/data-manipulat
阅读全文
摘要:1.下载方式:直接下载Andaconda,简单快捷,减少准备环境的时间 2.图像 3.代码:可直接运行(有详细注释)
阅读全文
摘要:# -*- encoding:utf-8 -*- # Copyright (c) 2015 Shiye Inc. # All rights reserved. # # Author: ldq # Date: 2019/2/12 10:07 import numpy as np import pandas as pd dates = pd.date_range("20190101", per...
阅读全文
摘要:# -*- encoding:utf-8 -*- # Copyright (c) 2015 Shiye Inc. # All rights reserved. # # Author: ldq # Date: 2019/2/12 9:26 import numpy as np import pandas as pd s = pd.Series() ''' 创建一个空序列 Series([],...
阅读全文
摘要:# -*- encoding:utf-8 -*- # Copyright (c) 2015 Shiye Inc. # All rights reserved. # # Author: ldq # Date: 2019/2/11 14:57 import numpy as np a = np.arange(2, 14).reshape(3, 4) ''' reshape矩阵变维 [[ 2 ...
阅读全文
摘要:# -*- encoding:utf-8 -*- # Copyright (c) 2015 Shiye Inc. # All rights reserved. # # Author: ldq # Date: 2019/2/11 13:41 import numpy as np a = np.array([0, np.pi/2, np.pi, np.pi/3, np.pi/4]) b = n...
阅读全文