Run ❯
Get your
own Python
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import pandas as pd data = [[True, False, True], [True, False, False]] df = pd.DataFrame(data) print(df.any())
0 True 1 False 2 True dtype: bool