you may have a look at the csv module documentation, https://docs.python.org/2/library/csv.html
Here is an example code in ipython.
In [1]: import csv
In [2]: f = open('plop.csv')
In [3]: exclude = set(('on', 'one'))
In [4]: reader = csv.reader(f, delimiter=' ')
In [5]: for row in reader:
...: if any(val in exclude for val in row):
...: continue
...: else:
...: print row
...:
['name', 'class', 'label', 'test']
['ne', 'two', '1', 'five,']
['cast', 'as', 'none', 'vote']
Feel free to adapt the script to your needs.
Take care that i did not provide special processinng for the header which can be handled this way. This is not how you should process for very large files since the whole file is read an put into ram.
In [9]: f=open('plop.csv')
In [10]: reader = csv.reader(f.readlines()[1:], delimiter=' ') #skip headers
In [11]: for row in reader:
...: if any(val in exclude for val in row):
...: continue
...: else:
...: print row
...:
['ne', 'two', '1', 'five,']
['cast', 'as', 'none', 'vote']
ne two 1 five,in your example output? Given that it contains neither'one'or'on'?