Deleting DataFrame row in Pandas based on column value September 6, 2022 by Tarik If I’m understanding correctly, it should be as simple as: df = df[df.line_race != 0]