- 博客(3)
- 收藏
- 关注
原创 matlab省缺值和异常值检测(箱型图)
%% 餐饮销量数据缺失值及异常值检测clear;% 初始化参数catering_sale = '../data/catering_sale.xls'; % 餐饮数据index = 1; % 销量数据所在列 %% 读入数据[num,txt] = xlsread(catering_sale);%xls读取数据,[num]=餐饮数据;[txt]=其他sales =num(2:end,index
2015-09-18 20:17:31 13374 2
原创 实战抓取糗事百科
# -*- coding:utf-8 -*-import urllib2import re#材料的设置基本上就是设置url,uel_agent,headers的信息page = 1url = 'http://www.qiushibaike.com/hot/page/' + str(page)user_agent = 'Mozilla/4.0 (compatible; MSIE 5.5;
2015-09-17 12:35:49 342
原创 简明python爬虫
爬虫主要包括两步骤爬取网页html正则表达式抓取网页的你想要的信息 ## 爬取网页html ## 主要语法# -*- coding:utf-8 -*-import urllib2import repage = 1url = 'http://www.qiushibaike.com/hot/page/' + str(page)user_agent = 'Mozilla/4.0 (com
2015-09-17 11:25:40 377
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人