牛骨文教育服务平台(让学习变的简单)
博客笔记
03
2017-08
np.cumsum() 2017-08-03
import numpy as np a = np.cumsum([[1,2],[2,3]]) print(a)#[1 3 5 8],由前面的值依次累加 b = np.cumsum([[1,2],[2,3]],axis=0) print(b) #[[1 2] # [3 5]] #每列累加 c = np.cumsum([[1,2],[2,
19
2017-12
python cumsum函数 2017-12-19
这个函数的功能是返回给定axis上的累计和 函数的原型如下:详见 doc  numpy.cumsum(a, axis=None, dtype=None, out=None)     Return the cumulative sum of the elements alon
27
2015-11
numpy 常用api(一) 2015-11-27
numpy 常用api(二) numpy 常用api(三) clip 两个版本: np.clip 作为成员函数,x.clip 将一序列(sequence)中所有小于零的元素置零: >>> x = np.arange(-5, 5) >>
28
2015-10
du 使用详解 linux查看目录大小 linux统计目录大小并排序 查看目录下所有一级子目录文件夹大小 du -h --max-depth=1 |grep [ 发 2015-10-28
http://www.lowxp.com/g/article/detail/290 du 使用详解 linux查看目录大小 linux统计目录大小并排序 查看目录下所有一级子目录文件夹大小 du -h --max-depth=1 |gre
05
2017-01
Linux 文件按大小排序 2017-01-05
    Linux某个目录下的文件按大小排序   1. df -lh   2. du -s /usr/* | sort -rn 这是按字节排序   3. du -sh /usr/* | sort -rn 这是按兆(M)来排序   4.选出排
21
2017-08
Mina断线重连时出现DeadLock,死锁解决方案 2017-08-21
Mina客户端断线重连,死锁异常DEAD LOCK: IoFuture.await() was invoked from an I/O processor thread. Please use IoFutureListener or configure a proper thread model alternatively. 解决! 最近在看m
30
2015-12
jsp获取list的长度 2015-12-30
阅读更多
03
2015-07
使用JS对form的内容验证失败后阻止提交 2015-07-03
原文章地址 1.form的两个事件 submit,提交表单,如果直接调用该函数,则直接提交表单 onSubmit,提交按钮点击时先触发,然后触发submit事件。如
13
2017-04
[基础]Map在JSP中的两种显示方式 2017-04-13
1、 Java: for(EglSpecialRequest req : list){ for(String idStr : ids){ if(StringUtils.isEmpty(idStr)) continue; Integer id = Integer.parseInt(idStr); if(id - req.getId() == 0){
25
2017-12
解决ivew引入的字体图标报错 2017-12-25
将build/webpack.prod.conf.js 中的 module: { rules: utils.styleLoaders({ sourceMap: config.build.productionSourceMap, extract: false, usePostCSS: true }) }, 中的extract改为false,就