会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
TreeSir
Where You From & Where You Go.
首页
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
31
下一页
2020年4月26日
selenium 报错: WebDriverException: Message: chrome not reachable
摘要: 报错截图 报错原因 根据提示,是因为没找到chromedriver,最后经过调试,原来我 '/usr/local/bin/chromedriver' 下的driver有问题,就重新下载个driver,解压到我 /home/v-gazh/Apps 目录下: 然后再执行代码,就OK了:
阅读全文
posted @ 2020-04-26 22:35 ZhuGaochao
阅读(7230)
评论(0)
推荐(0)
2020年4月22日
pd.HDFStore() 报错: ValueError: Can only append to Tables
摘要: 背景 由于.csv文件占用空间较大,就将其转为.h5文件(压缩率更高); Version.1 import pandas as pd df = pd.read_csv('xxxxxx.csv') with pd.HDFStore(‘xxxxx.h5', 'w') as store: store['d
阅读全文
posted @ 2020-04-22 22:14 ZhuGaochao
阅读(1015)
评论(0)
推荐(0)
2020年4月6日
selenium判断是否登录成功
摘要: 需求 通过selenium自动输入验证码登录,判断点击“登录”后是否登录成功;如果没登陆成功,则进行循环登录。 实现 由于验证码定位、截图、识别,已经在前面实现,这里只记录自己判断是否登录成功的一种方法; (selenium里看了下没有现成的功能--判断是否登录成功) 如上图,登录失败的话,会出现
阅读全文
posted @ 2020-04-06 17:54 ZhuGaochao
阅读(6733)
评论(0)
推荐(0)
2020年3月19日
git-merge两个指定分支
摘要: 背景 现有 branch-1 和 branch-2 两个分支: branch-1分支下有:dir_a、dir_b、dir_c、dir_e branch-2分支下有:dir_a、dir_b 需求 将 branch-1 中所有内容 merge 到 branch-2 中。 操作 # 当前在branch-1
阅读全文
posted @ 2020-03-19 00:03 ZhuGaochao
阅读(4533)
评论(0)
推荐(0)
2020年3月11日
pandas修改DataFrame中指定的某一个值(推荐方法)
摘要: 数据样例 df = pd.DataFrame({'code':['SH600001','SH000905','SH000908'],'date':['2001', '2002','2003']}) 需求 将列名为 索引 SH000908 对应的date值改为: zhugaochao 不推荐做法 此种
阅读全文
posted @ 2020-03-11 16:12 ZhuGaochao
阅读(22456)
评论(0)
推荐(1)
2020年2月26日
pandas实现向已有excel中添加sheet(不覆盖)
摘要: 参见:https://blog.csdn.net/qq_44315987/article/details/104100281
阅读全文
posted @ 2020-02-26 17:49 ZhuGaochao
阅读(5070)
评论(0)
推荐(0)
2019年12月29日
python实现--参数估计
摘要: 求置信区间 抽取样本, 样本量为200 np.random.seed(42) coffee_full = pd.read_csv('coffee_dataset.csv') coffee_red = coffee_full.sample(200) #this is the only data you
阅读全文
posted @ 2019-12-29 20:58 ZhuGaochao
阅读(1426)
评论(1)
推荐(0)
2019年12月25日
堆、栈,堆栈、队列
摘要: 百度经验上看到一篇对堆栈队列讲解很不错的文章; mark下:https://jingyan.baidu.com/article/6c67b1d6a09f9a2786bb1e4a.html
阅读全文
posted @ 2019-12-25 15:40 ZhuGaochao
阅读(742)
评论(0)
推荐(0)
2019年12月22日
参数估计
摘要: 在抽样与抽样分布的基础上,根据样本统计量来推断总体参数。 详见简书:https://www.jianshu.com/p/5445b95379ce
阅读全文
posted @ 2019-12-22 21:33 ZhuGaochao
阅读(171)
评论(0)
推荐(0)
2019年12月18日
零拷贝实现原理
摘要: 网上看到这个问题,但自己不太熟记录下 参考:https://www.jianshu.com/p/2581342317ce
阅读全文
posted @ 2019-12-18 21:15 ZhuGaochao
阅读(258)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
31
下一页
公告