python条件筛选_Python中多条件筛选list都有哪些方法?

贴图片,没有兴趣看!

请尽快贴出代码文本

按照你的逻辑修改的代码,看行不行?

[['41', 'admin.', 'married', 'high.school', 'no', 'yes', 'yes', 'cellular', 'apr', 'mon', '982', '1', '999', '0', 'nonexistent', '-1.8', '93.075', '-47.1', '1.405', '5099.1', 'no'], ['32', 'admin.', 'married', 'university.degree', 'no', 'yes', 'no', 'cellular', 'may', 'mon', '188', '2', '999', '0', 'nonexistent', '-1.8', '92.893', '-46.2', '1.299', '5099.1', 'no'], ['37', 'admin.', 'married', 'high.school', 'no', 'unknown', 'unknown', 'cellular', 'jul', 'thu', '56', '3', '999', '0', 'nonexistent', '1.4', '93.918', '-42.7', '4.968', '5228.1', 'no'], ['38', 'admin.', 'divorced', 'university.degree', 'no', 'no', 'no', 'cellular', 'jul', 'tue', '419', '8', '999', '0', 'nonexistent', '1.4', '93.918', '-42.7', '4.961', '5228.1', 'no'], ['35', 'admin.', 'married', 'university.degree', 'no', 'unknown', 'unknown', 'telephone', 'jul', 'tue', '78', '4', '999', '0', 'nonexistent', '1.4', '93.918', '-42.7', '4.961', '5228.1', 'no'], ['42', 'admin.', 'single', 'university.degree', 'no', 'no', 'no', 'telephone', 'may', 'thu', '236', '3', '999', '0', 'nonexistent', '1.1', '93.994', '-36.4', '4.86', '5191', 'no']]

8

6

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值