use Featureunion in scikit-learn to combine two pandas columns for tfidf
FeatureUnion was not meant to be used that way. It instead takes two feature extractors / vectorizers and applies them to the input. It does not take data in the constructor the way it is shown. CountVectorizer is expecting a sequence of strings. The easiest way to provide it with that is to concatenate the … Read more