pandas remove row that contains value in field code example
Example 1: dataframe drop rows by column value
df = df[df.line_race != 0]
Example 2: pandas dataframe drop rows with -ve in column value
df = df[df.line_race != 0]
df = df[df.line_race != 0]
df = df[df.line_race != 0]