I have two columns in a dataframe that I\'m trying to calculate MSE on. Oddly, it works sometimes and other times gives me this error:
Input contains NaN, inf