pandas drop rows based on multiple column values code example Example: pandas dataframe drop rows with -ve in column value df = df[df.line_race != 0]