Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. for i in df['Name']:
  2. if count[month] < 5:
  3. df['CMonth'] = df['BMonth']
  4. count[month] = count[month] + 1
  5. else if count[month+1] < 5:
  6. df['CMonth'] = df['BMonth']
  7. count[month+1] = count[month+1] + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement