You could try using DataFrame's apply
. Write a function that includes an exception handler and apply it to the DataFrame.
def test_apply(x):
try:
return float(x)
except ValueError:
return None
cleanDF = test['Value'].apply(test_apply).dropna()