I\'m trying to use sklearn pipeline to encode a data frame before passing it to Keras but I\'m getting an error:
ValueError: Input contains NaN, infinity or a val