只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-04-04 17:06 TAMAYURA 阅读(56) 评论(0) 推荐(0) 编辑
摘要: "company_base_info_staff_job": { "engine": "python script", # datax or python script "update_priority": 2, "insert_priority": 1, "insert_schedule_time": [ ... 阅读全文
posted @ 2019-04-15 17:47 TAMAYURA 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 1.上一章绘制一幅最简单的图像,这一章介绍figure的详细用法,figure用于生成图像窗口的方法,并可以设置一些参数 2.先看此次生成的图像: 3.代码(代码中有详细的注释) 参考文章地址:https://morvanzhou.github.io/tutorials/data-manipulat 阅读全文
posted @ 2019-02-13 10:45 TAMAYURA 阅读(3591) 评论(0) 推荐(1) 编辑
摘要: 1.下载方式:直接下载Andaconda,简单快捷,减少准备环境的时间 2.图像 3.代码:可直接运行(有详细注释) 阅读全文
posted @ 2019-02-13 10:36 TAMAYURA 阅读(234) 评论(0) 推荐(0) 编辑
摘要: # -*- 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... 阅读全文
posted @ 2019-02-12 11:06 TAMAYURA 阅读(498) 评论(0) 推荐(0) 编辑
摘要: # -*- 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([],... 阅读全文
posted @ 2019-02-12 10:02 TAMAYURA 阅读(306) 评论(0) 推荐(0) 编辑
摘要: # -*- 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 ... 阅读全文
posted @ 2019-02-11 16:15 TAMAYURA 阅读(153) 评论(0) 推荐(0) 编辑
摘要: # -*- 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... 阅读全文
posted @ 2019-02-11 14:55 TAMAYURA 阅读(190) 评论(0) 推荐(0) 编辑
摘要: docker服务启动、停止、关闭 service docker start service docker stop service docker restart 获取镜像docker pull ImageName 查看镜像列表docker images 创建容器docker create -it - 阅读全文
posted @ 2019-01-03 14:07 TAMAYURA 阅读(120) 评论(0) 推荐(0) 编辑
摘要: class xrange(object): def __init__(self, start, end=0, step=1): self.start = start self.end = end self.step = step def __iter__(self): if self.end == 0: ... 阅读全文
posted @ 2018-12-10 17:56 TAMAYURA 阅读(255) 评论(0) 推荐(1) 编辑
摘要: 1.使用四个空格而不是tab进行缩进 2.默认使用utf-8编码 3.尽量不要使用魔术方法 4.类中使用self作为默认参数 5.命名时,尽量使用驼峰式或单词+下划线,要保证见名知意 6.操作符和逗号之后使用空格,但不要在括号内部使用 7.使用空行来间隔函数与类 8.一行不要超过79个字母 9.要写 阅读全文
posted @ 2018-10-14 14:39 TAMAYURA 阅读(1655) 评论(0) 推荐(1) 编辑