Created
January 28, 2018 07:19
-
-
Save dipanjanS/228f00aabcdd46440e9e2da1bb3bbdaf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # get all unique words in the corpus | |
| vocab = cv.get_feature_names() | |
| # show document feature vectors | |
| pd.DataFrame(cv_matrix, columns=vocab) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment