dt_matrix = pd.DataFrame()
for docid, f in enumerate(files):
    dt_matrix_file = pd.DataFrame(cleaned_dict)
dt_matrix_file['docid'] = docid
How to efficiently retrieve top K-similar document by cosine similarity using python?