摘要: 1.获取数组极值,并返回索引 c = [-10,-5,0,5,3,10,15,-20,25] print c.index(min(c)) # 返回最小值 print c.index(max(c)) # 返回最大值 2.对series求最值 file_path = 'D:/RecentReserch/ 阅读全文
posted @ 2019-08-01 10:11 Hellozhu 阅读(14732) 评论(0) 推荐(0) 编辑