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