bvde's first solution maybe suitable , because I need the index of the max value in the list,I can't rearrange it and list[0] is stored a string of the series name.
I will try bvde's first solution
User Profile
Collapse
Profile Sidebar
Collapse
leoxu1982
Last Activity: Sep 16 '11, 04:06 PM
Joined: Sep 16 '11
Location:
-
-
like this
[ '132.365', '132.148', '131.410', '131.237', '131.410', '130.586', '129.588', '128.330', '126.725', '124.686', '123.471', '124.122', '126.681', '129.545', '131.063', '131.410', '131.106', '130.499', '130.412', '130.456', '129.631', '127.853', '127.679', '129.588', '133.146', '135.228', '135.879', '135.879', '136.226', '137.788', '140.564', '143.818', '145.640', '146.464', '146.508', '145.423', '142.430', '138.525', '133.276', '128.330',...Leave a comment:
-
Yes,this situation is special,but more are disorder, how to deal with those?Leave a comment:
-
bvdet
thank u!
nevertheless, how do I deal with situation like this, I store string of number in ListLeave a comment:
-
about max() and min()
I met a situation like this:
>>> li=['926.7', '930.6', '931.7', '933', '934.1', '936.5', '937.5', '940.5', '941.6', '944.6', '945.7', '947.2', '948.6', '950.4', '953.4', '957', '958.6', '962.1', '966.5', '968.2', '969.7', '970.4', '973.1', '974.6', '975.3', '983.9', '989.8', '996.5', '999.3', '1001.8', '1006.1', '1010.5', '1011.9', '1012.6', '1013.9', '1023.8', '1034.3', '1035.3', '1035.9', '1038.4', '1044.3', '1045.8', '1046.8',...
No activity results to display
Show More
Leave a comment: