text_plain_output_1.png
import os , string , sys , numpy, spacy , nltk, re, random, timeit

import pandas as pd

working_dir = '../input/nyt-comments/'
headlines = []
for filename in os.listdir(working_dir):
    if 'Articles' in filename:
        article_df = pd.read_csv(working_dir + filename)
        headlines.extend(list(article_df.headline.values))
all_headlines = [x for x in headlines if x != 'Unknown']
all_headlines = headlines

len(headlines)