Human: List of Tuples (string, float)with NaN How to get the min value? Assistant: 
Here is some code to get a minimum value from a list of tuples `list` with values of type `string` and `float` with nan

min(list, key=lambda x: float('inf') if math.isnan(x[1]) else x[1])

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.