[Solved] How can I procees the below text file for text classification? I would like each paragraph as a row in a pandas dataframe, I am unable to do that [closed]
f = open(‘sample_text.txt’, ‘r’) data = f.read() paragraphs = data.split(“\n\n”) paragraphs[:] = (value for value in paragraphs if value != ‘\t’) 2 solved How can I procees the below text file for text classification? I would like each paragraph as a row in a pandas dataframe, I am unable to do that [closed]