I'm trying to output a matrix with 4 rows (1st row is header) and over 6000 columns. Each column header is a word from different text documents (rows 1-3). I want to export it to excel so I can easily filter the top 10 words with highest frequency. I get no error, but nothing shows up in the excel file. Where am I going wrong?
np.savetxt('file.csv', matrix_TF, delimiter = ',', newline = '\n', encoding='utf8')