• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
oooooolr
You can do anything but not everything. ——David Allen
博客园    首页    新随笔    联系   管理    订阅  订阅
2019年3月24日
kaggle learn python
摘要: def has_lucky_number(nums): return any([num % 7 == 0 for num in nums]) def menu_is_boring(meals): """Given a list of meals served over some period of time, return True if the same mea... 阅读全文
posted @ 2019-03-24 21:47 oooooolr 阅读(308) 评论(0) 推荐(0)
pandas
摘要: df = reviews.loc[:99,['country','variety']] or df = reviews.loc[[1,2,3,4],['country','variety']]df = reviews.loc[[0,1,10,100],['country','province','region_1','region_2']] 两颜色不能互换,必须index在前iloc index... 阅读全文
posted @ 2019-03-24 19:17 oooooolr 阅读(165) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3