I\'m trying to replace NaNs with mean values, but when i do the fit method I get this error:
ValueError: Input contains NaN, infinity or a value too large fo