I have the following DataFrame:
daysago line_race rating rw wrating line_date 2007
If I'm understanding correctly, it should be as simple as:
df = df[df.line_race != 0]