"# Apply fit_transform to document: csr_mat\n", "csr_mat = tfidf.fit_transform(documents)\n", "\n", "# Print result of toarray() method\n", "print(csr_mat.toarray())\n", "\n", "# Get the words: words\n", "words = tfidf.get_feature_names_out()\n", ...