会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
天天见
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
2019年9月22日
将爬取到的数据存入数据框并导出
摘要: import requestsfrom lxml import etreefrom pandas import DataFrame url='https://search.51job.com/list/120800,000000,0000,32,9,99,%25E4%25BA%25A7%25E5%2
阅读全文
posted @ 2019-09-22 10:02 天天见和
阅读(578)
评论(0)
推荐(0)
2019年9月19日
XPath常见用法
摘要: import requestsfrom lxml import etreeurl='https://www.baidu.com/'r=requests.get(url)r.encoding='utf-8'r.text root=etree.HTML(r.text)root.xpath('/html/
阅读全文
posted @ 2019-09-19 19:36 天天见和
阅读(173)
评论(0)
推荐(0)
python 图表
摘要: #图表 import matplotlib.pyplot as plt fig,ax=plt.subplots(2,2)ax[0,1].plot(x,y,'r--*',label='sin')ax[0,1].legend(loc='upper right')ax[0,1].grid()fig.sav
阅读全文
posted @ 2019-09-19 19:35 天天见和
阅读(360)
评论(0)
推荐(0)
上一页
1
2
3
公告