I am vectorizing with tfidf:
X = tfidf_vect.fit_transform(df['string'].values)
I would like to se the whole matrix of the above code so I tried this:
print X.toarray()
And obtained this:
[[0 0 0 ..., 0 0 0]
[0 0 0 ..., 0 0 0]
[0 0 0 ..., 0 0 0]
...,
[0 0 0 ..., 0 0 0]
[0 0 0 ..., 0 0 0]
[0 0 0 ..., 0 0 0]]
How can I write to some txt file or see the full matrix X?.