0

Data: the tsv file

This is what the Tsv data looks like, how do I use pandas to remove all the information but the words and the tags? for example only keeps : Keep the part I circled

Chang
  • 77
  • 6
  • Does [this](https://stackoverflow.com/questions/18039057/python-pandas-error-tokenizing-data) answer your question? – Ofek Glick Aug 23 '21 at 21:52

1 Answers1

0

Your post does not respect the rules of StackOverflow. Please take a while to read:

But the answer is (probably):

df = pd.read_csv('test.tsv', comment='#', header=None, sep='\t')
Corralien
  • 109,409
  • 8
  • 28
  • 52