cons=df1.apply(lambda ss:pd.Series(ss[0]).diff().iloc[1:].eq(1).all(),1) df1.assign(cons=cons) a cons 0 [0, 2] False 1 [9, 11, 12] False 2 [0, 1, 2] True 3 [10, 11, 13] False