if a value is great than return something pandas code example Example: pandas dataframe check for values more then a number In [36]: (s > 1).any() Out[36]: True