09 2018 档案
摘要:Scrapy框架原理: 参考出处:https://cuiqingcai.com/3472.html 整个Scrapy的架构图: Scrapy Engine: 这是引擎,负责Spiders、ItemPipeline、Downloader、Scheduler中间的通讯,信号、数据传递等等!(像不像人的身
阅读全文
摘要:import sysimport tushare as tsimport numpy as npdata=ts.get_h_data('601066')print(data)#读出兴业银行7列数据date open high close low volume amount data.to_csv('
阅读全文
摘要:[ 0 0 0 2 3 3 3 4 5 7 9 9 12 13 13 13 14 14 15 16 17 19 22 27 27 29 31 34 34 38 40 42 45 52 55 58 61 65 66 68 69 69 70 73 78 78 80 81 87 90 90 91 92 9
阅读全文
摘要:import numpy as npa=np.random.random()#用于生成一个0到1的随机浮点数: 0 <= n < 1.0print(a)0.7720009033229526a=np.random.uniform(60,80)#用于生成一个指定范围内的随机符点数,两个参数其中一个是上限
阅读全文
摘要:#plt.subplot的使用 #使用figure中subplot的使用
阅读全文
摘要:import matplotlib.pyplot as pltx = [4, 9, 21, 55, 30, 18]labels = ['math', 'history', 'chemistry', 'physics', 'biology','Enrlish']explode = [0, 0.01,
阅读全文

浙公网安备 33010602011771号