• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

jwang106


脚踏实地,日拱一卒。 建立新的神经链接,可不像公园散步那样简单。
  • 博客园
  • 联系
  • 管理

2019年8月5日

爬虫 fake_useragent

摘要: ``` import requests from fake_useragent import UserAgent ua = UserAgent() headers = { "UserAgent": ua.random } song_name = 'test' res = requests.get(search_url, headers=headers) ``` 阅读全文

posted @ 2019-08-05 14:52 jwang106 阅读(136) 评论(0) 推荐(0)

pandas

摘要: Pandas提供了 DataFrame.describe 方法查看数据摘要 DataFrame.isnull() 方法查看数据表中哪些为空值,与它相反的方法是 DataFrame.notnull() df.dropna(axis=1, how='all') 经过测试,在 DataFrame.repl 阅读全文

posted @ 2019-08-05 10:39 jwang106 阅读(111) 评论(0) 推荐(0)

 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3