documents.dropna(subset = ["content"], inplace=True) # drop those rows which have NaN value cells
processed_docs = documents['content'].map(preprocess)