Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i in df['Name']:
- if count[month] < 5:
- df['CMonth'] = df['BMonth']
- count[month] = count[month] + 1
- else if count[month+1] < 5:
- df['CMonth'] = df['BMonth']
- count[month+1] = count[month+1] + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement