[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]
[ad_1] f = open(‘sample_text.txt’, ‘r’) data = f.read() paragraphs = data.split(“\n\n”) paragraphs[:] = (value for value in paragraphs if value != ‘\t’) 2 [ad_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]