Python Dataframe Values Converted As Nan After Applied

Python Dataframe Values Converted As Nan After Applied