上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 41 下一页
摘要: package cn.cnnic.ops; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; i... 阅读全文
posted @ 2016-11-30 14:37 宝山方圆 阅读(1368) 评论(0) 推荐(0)
摘要: #-*- coding: utf-8 -*- import pandas as pda import matplotlib.pyplot as pyl import matplotlib.font_manager from collections import Counter '''配置变量区--start--''' zhibanfile = 'zhibanbiao.xlsx' week =... 阅读全文
posted @ 2016-11-30 14:32 宝山方圆 阅读(14672) 评论(0) 推荐(0)
摘要: mysql> alter table lesson change title title varchar(100) charset utf8; 阅读全文
posted @ 2016-11-22 18:57 宝山方圆 阅读(18743) 评论(1) 推荐(0)
摘要: Yarn & Mapreduce 参数的具体含义和配置 http://zh.hortonworks.com/blog/how-to-plan-and-configure-yarn-in-hdp-2-0/ 阅读全文
posted @ 2016-11-21 17:42 宝山方圆 阅读(429) 评论(0) 推荐(0)
摘要: 以下代码均为python3版本的代码 【转自】http://www.kuqin.com/shuoit/20150702/346879.html 稍有修改 mark down 阅读全文
posted @ 2016-11-21 10:58 宝山方圆 阅读(3211) 评论(0) 推荐(0)
摘要: 例如要提取span下的内容 //div[@class="content"]/span 正确的其中一种写法如下data = response.xpath('//div[@class="content"]/span[descendant-or-self::text()]')it['content'] = 阅读全文
posted @ 2016-11-14 11:56 宝山方圆 阅读(11806) 评论(0) 推荐(0)
摘要: ssh ip 无密码打通,hadoop启动失败 报错为:host'主机名' can't be established. 纠结了接近一个多小时 之后必须ssh 主机名 , yes一下,发现hadoop能够正常启动 ssh版本 OpenSSH_7.2p2, OpenSSL 1.0.2j 无语 阅读全文
posted @ 2016-11-09 11:35 宝山方圆 阅读(221) 评论(0) 推荐(0)
摘要: 强大的Anaconda和Spyder。不过如何在这个平台上安装Scrapy呢。 打开MS-DOS(win+R输入cmd回车) 然后输入: 安装pymysql同理 conda install -c scrapinghub pymysql 安装django conda install -c scrapi 阅读全文
posted @ 2016-11-08 16:35 宝山方圆 阅读(1280) 评论(0) 推荐(0)
摘要: 错误信息:error: The requested URL returned error: 401 Unauthorized while accessing https://git.oschina.net/xxx/xxx.git/info/refs出现的情况是我想把我本地的项目搬到oschina的g 阅读全文
posted @ 2016-11-07 11:04 宝山方圆 阅读(620) 评论(0) 推荐(0)
摘要: 去除空格用trim 去除tab用如下方法 select regexp_replace(secdomainname,'\\s+','') from dwb_cndns_node_secdomain_d where ...... 亲测可行。 阅读全文
posted @ 2016-11-05 07:08 宝山方圆 阅读(3518) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 41 下一页