I have a long list of tuples and want to remove any tuple that has a nan in it using Python.
What I currently have: x = [(\'Recording start\', 0), (nan, 4), (nan, 7
res = [n for n in x if not nan in n]
Return all objects in x that do not have an objects nan in them.
x
nan