Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def consec_null(df,i):
- j=0
- b=False
- while j<(len(df.index)-1):
- if ((pd.isnull(df.iloc[j,i])) and (pd.isnull(df.iloc[j+1,i]))):
- b=True
- else:
- j=j+1
- return b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement