I have an input data frame that is getting loaded in python and I need the final output based on the values present in the input i.e. to fill the nan values. How to go about it