drop a row with a specific value of a column code example Example: drop a row with a specific value of a column df = df[df.line_race != 0]