Q. In Binary addition, if a column in a data frame contains a NaN and the corresponding column in other DataFrame is a numeric value, then what would be returned as a result? Why?


Answer :-

The result of addition of a NaN value and a number is a NaN always. This is because, NaN means not-a-number and there is functionality defined only for adding two numbers and not with a NaN.

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post