79221797

Date: 2024-11-25 06:05:50
Score: 0.5
Natty:
Report link
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
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: G.G