I am totally new to Machine Learning and I have been working with unsupervised learning technique.
Image shows my sample Data(After all Cleaning) Screenshot : Sample
I got the same issue, and got resolved by using DataFrameMapper (need to install sklearn_pandas):
from sklearn_pandas import DataFrameMapper cat_pipeline = Pipeline([ ('label_binarizer', DataFrameMapper([(cat_attribs, LabelBinarizer())])), ])