My df has 3 columns
df = pd.DataFrame({\"col_1\": (0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0), \"col_2\": (0.0, 0.24, 1.0, 0.0, 0.22, 3.11, 0.0)
You can use or (|) operator for this , Refer this link for it pandas: multiple conditions while indexing data frame - unexpected behavior
i.e dropping rows where both conditions are met
df = df.loc[~((df['col_1']==1) | (df['col_2']==0))]