码迷,mamicode.com
首页 >  
搜索关键字:frequent values    ( 8692个结果)
JavaScript 多种滤镜算法
1.灰色滤镜 设定R,G,B值相等 1 function makeGray(img){ 2 for(var pixel of img.values()){ 3 var avg = (pixel.getRed()+pixel.getGreen()+pixel.getBlue())/3; 4 pixel ...
分类:编程语言   时间:2019-12-09 17:25:20    阅读次数:123
boolean在Java中占几个字节的问题
官方的定义是这样的: boolean: The boolean data type has only two possible values: true and false. Use this data type for simple flags that track true/false cond ...
分类:编程语言   时间:2019-12-09 12:21:55    阅读次数:93
昨天周末晚上没有出去,码了一小段,先留着kangkang。
昨天周末晚上没有出去,码了一小段,先留着kangkang。 import numpy as npimport matplotlibmatplotlib.use('Agg')import matplotlib.pyplot as pltfrom tqdm import tqdm# wrapper cl ...
分类:其他好文   时间:2019-12-08 12:56:34    阅读次数:104
Python处理json和dict
json与dict的区别 Python 的dict是一种数据结构,json 是一种数据传输格式。json 就是一个根据某种约定格式编写的纯字符串,不具备任何数据结构的特征。而 python 的dict的字符串表现形式的规则看上去和 json 类似,但是dict本身是一个完整的数据结构,实现了一切自身 ...
分类:编程语言   时间:2019-12-08 12:17:27    阅读次数:69
docker 镜像制作(jupyter)
docker pull centosdocker run -it -d --name test-centos1 centosdocker exec -it test-centos1 /bin/bashdocker commit test-centos1 centos_sshd:7.0docker c ...
分类:其他好文   时间:2019-12-08 10:27:05    阅读次数:287
python合并pdf并添加书签
初步熟悉 安装 合并并添加书签 注意: 在指定的页面添加书签时候要注意,PyPDF2中pdf的页面是从0开始的,即在序列0添加书签时会跳到首页,在n处添加书签时会跳转至n+1页。 PyPDF2使用说明 官网: https://pythonhosted.org/PyPDF2/PdfFileWriter ...
分类:编程语言   时间:2019-12-08 00:54:26    阅读次数:100
oracle行转列实现
1.新建测试表 create table TEST_TABLE( T1 VARCHAR2(10),--姓名 T2 VARCHAR2(10),--科目 T3 VARCHAR2(10)--成绩 ) 2.插入测试数据 insert into test_table (T1, T2, T3) values ( ...
分类:数据库   时间:2019-12-07 14:40:20    阅读次数:66
如何快速新建sql的demo环境?
脚本如下 使用方式 ...
分类:数据库   时间:2019-12-07 14:33:20    阅读次数:83
[LC] 199. Binary Tree Right Side View
Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. Example ...
分类:其他好文   时间:2019-12-07 12:18:43    阅读次数:81
集合知识点(二)
HashMap 格式: Map<key,values> map = new HashMap<>(); //对于HashMap集合需要传入两个参数叫做键、值 增加: map.put(key,values); //根据键的Hash码存储,如果key的Hash值相同,则根据书写顺序后面的values覆盖前 ...
分类:其他好文   时间:2019-12-07 01:15:28    阅读次数:79
共8692条   上一页 1 ... 81 82 83 84 85 ... 870 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!