Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import pandas as pd df = pd.DataFrame([[10, 12, 2], [3, 4, 7]]) print(df.eq(7))
0 1 2 0 False False False 1 False False True