python获取最大、最小值

1.获取数组极值,并返回索引html 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/TestData/alldayrequests2014.xlsx' df = pd.re
相关文章
相关标签/搜索