码迷,mamicode.com
首页 >  
搜索关键字:ike    ( 1810个结果
python爬虫学习第三章
<!DOCTYPE html thirdclass / GitHub stylesheet for MarkdownPad (http://markdownpad.com) / / Author: Nicolas Hery http://nicolashery.com / / Version: b1 ...
分类:编程语言   时间:2018-01-13 15:40:27    阅读次数:401
122. Best Time to Buy and Sell Stock II
#week15 Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You ma ...
分类:其他好文   时间:2018-01-13 11:09:04    阅读次数:112
数组去重(只讲两种方法)
数组去重的方法有很多,每个人都有自己喜欢用的方法,这里说两种我自己觉得比较简洁高效的方法,当然很多人都知道这些。 方法一 此方法利用对象属性名不能重复的性质,将数组值遍历到对象的属性上,如果属性名的属性值已存在,则忽略,如果属性值不存在,则添加新属性,并赋值(注意赋的值不能为假),然后将这个属性名p ...
分类:编程语言   时间:2018-01-13 00:19:09    阅读次数:157
Day2 MySql函数以及单表查询
SQL中的运算符 算术运算符 比较运算符> < >= <= != = 逻辑运算符 and or ! 位运算符 | ^ & DML(insert、update、delete) insert(插入) 语法 例如 update(修改) 语法 例如 delete(删除) 语法 例如 delete和trunc ...
分类:数据库   时间:2018-01-12 22:46:48    阅读次数:351
SQLalchemy基本使用
简介:SQLAlchemy是Python编程语言下的一款ORM框架,该框架建立在数据库API之上,使用关系对象映射进行数据库操作 Dialect用于和数据API进行交流,不同的数据库调用不同的api 基本操作: 1.链接数据库 1 import time 2 import threading 3 i ...
分类:数据库   时间:2018-01-12 19:42:34    阅读次数:5022
T 分布(近似标准正态分布)
1.1 定义 定义:假设X服从标准正态分布N(0,1),Y服从 卡方分布,那么 的分布称为自由度为n的t分布,记为 。 分布密度函数 ,其中,Gam(x)为伽马函数。 可用于两组独立计量资料的假设检验。 由于在实际工作中,往往σ(总体方差)是未知的,常用s(样本方差)作为σ总体方差的估计值,为了与u ...
分类:其他好文   时间:2018-01-12 15:58:38    阅读次数:190
October 22nd, 2017 Week 43rd Sunday
Yesterday is not ours to recover, but tomorrwo is ours to win or lose. 我们无法重拾昨天,但我们可以选择赢得或者输掉明天。 Even if we can go back to yesterday, we might not be ...
分类:其他好文   时间:2018-01-12 01:35:18    阅读次数:161
scrapy crawl itcast -o teachers.json 爬虫案列
spider.py文件配置 1 2 # -*- coding: utf-8 -*- 3 import scrapy 4 from itTeachers.items import ItteachersItem 5 6 7 class ItcastSpider(scrapy.Spider): 8 nam... ...
分类:Web程序   时间:2018-01-11 20:39:41    阅读次数:729
c#图文识别之百度api调用
//百度图片识别api接口 public static JObject GeneralBasic(string apikey,string secretkey,string path) { var client = new Baidu.Aip.Ocr.Ocr(apikey, secretkey); ...
分类:Windows程序   时间:2018-01-11 11:40:21    阅读次数:543
Java学习笔记20(String类应用、StringBuffer类、StringBuilder类)
1.获取指定字符串中大小写和数字的个数: 2.将一个字符串中第一个字母转成大写,其余字母转成小写并打印 3.从一个长字符串中找小字符串出现的次数: String字符串无法改变,会有一些不便之处 所以介绍一个新类 StringBuffer类,字符串缓冲区 出现目的:为了提高字符串操作效率 内部采用了可 ...
分类:编程语言   时间:2018-01-10 18:36:45    阅读次数:157
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!