Set A Value To Nan In Python