delete rows with value in column pandas

df = df[df.line_race != 0]

Here is what the above code is Doing:
1. We’re creating a new dataframe called df_race.
2. We’re only including the columns we want: ‘line_race’, ‘cand_nm’, ‘cand_pty_affiliation’, ‘cand_office_st’, ‘cand_office’, ‘cand_status’, ‘contbr_employer’, ‘contbr_occupation’, ‘contribution_receipt_amt’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘contbr_employer’, ‘contbr_occupation’, ‘contbr_zip’, ‘contbr_st’, ‘contbr_city’, ‘cont