В основном, используйте фильтр для создания индекса, обратного индекса, а затем выберите строки на основе этого индекса.
import pandas as pd
df = pd.DataFrame({'c1': [3, 1, 2, 1, 3],
'c2': [3, 3, 3, 2, 3],
'c3': [2, 5, None,3, 3],
'c4': [1, 2, 3, 1, 3]})
print(df)
# Create an index based on any row containing 1
index = df.values == 1
print(index)
# This reverses the index.
# I.e.
#[False False False True] will equal False, since True is in the list
#[True False False False] will equal False, since True is in the list
#[False False False False] will equal True, since True is NOT in the list
index = [True if True not in l else False for l in index]
# Pick out only the rows where the index is true
df1 = df[index]
print(df1)