Here is my code:
tfid_vectorizer = TfidfVectorizer("english") tfid_vectorizer.fit(data[\'Processed_Logs\'].values.astype(\'U\')) tfid_ma