"list of tuples (string, float)with nan how to get the min value?","min([t for t in l if not math.isnan(t[1])], key=itemgetter(1))"