Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. def consec_null(df,i):
  2. j=0
  3. b=False
  4. while j<(len(df.index)-1):
  5. if ((pd.isnull(df.iloc[j,i])) and (pd.isnull(df.iloc[j+1,i]))):
  6. b=True
  7. else:
  8. j=j+1
  9. return b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement