Numpy提供了两种基本的对象: ndarray (n-dimensional array object)数组 ufunc (universal function object)是一种对数组进行处理的特殊函数 ...
分类:
其他好文 时间:
2018-06-22 22:44:34
阅读次数:
192
Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which cou ...
分类:
其他好文 时间:
2018-06-22 20:59:56
阅读次数:
180
mac下升级ruby到最新版本在安装其他软件的时候发现ruby的版本过低,现在准备升级夏ruby。查看ruby版本命令:ruby--version提示版本如下,确实应该升级了:ruby2.0.0p481(2014-05-08revision45883)[universal.x86_64-darwin14]升级ruby查询网上采用brew方式命令:brewinstallruby此时,会提示如下,先升
分类:
系统相关 时间:
2018-06-21 23:41:46
阅读次数:
2811
Link Extractors 的目的很简单: 提取链接? 每个LinkExtractor有唯一的公共方法是 extract_links(),它接收一个 Response 对象,并返回一个 scrapy.link.Link 对象。 Link Extractors要实例化一次,并且 extract_l ...
分类:
其他好文 时间:
2018-06-21 01:45:28
阅读次数:
188
numpy的universal function处理数据时,要求输入数组的shape必须一致,当数组的shape不一致时,则会产生广播机制; 广播机制会调整shape,使数组运算满足规则。 广播机制在调整ndarray时的四条规则: 1 让所有输入数组都向其中shape最长的ndarray看齐,sh ...
分类:
其他好文 时间:
2018-06-21 00:11:16
阅读次数:
120
模型表示(Representations) 消息(Messages) URIs 一致接口(Uniform interface) 无状态(Stateless) 资源之间的链接(Links between resources) 缓存(Caching) Restful 接口的 幂等性 :对同一Restfu ...
分类:
其他好文 时间:
2018-06-20 22:43:03
阅读次数:
265
Reference: 1. http://www.cnblogs.com/zuoyuan/tag/leetcode/ 2. https://github.com/qiyuangong/leetcode/tree/master/python 3. https://github.com/shichao- ...
分类:
编程语言 时间:
2018-06-20 22:37:33
阅读次数:
163
Event Type 在Exceptionless中有 Exception 、LogMessage、Broken Links 、Feature Usages 接下来就这几种类型分别添加日志记录 Exception Exceptionless组件对系统的异常日志都有捕获,所有Exception异常都会 ...
分类:
Web程序 时间:
2018-06-20 21:29:31
阅读次数:
411
crawlspider 使用scrapy genspider -t crawl 文件名字 网址 crawlspider是什么? 也是一个spider,是Spider的一个子类,所以其功能要比Spider要强大 多的一个功能是:提取链接的功能,根据一定的规则,提取指定的链接 链接提取器 LinkExt ...
分类:
其他好文 时间:
2018-06-18 18:28:33
阅读次数:
138
容器技术|Docker三剑客之docker-compose
分类:
其他好文 时间:
2018-06-15 12:55:04
阅读次数:
175