Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cuisine violations
- 0 Afghan 19
- 1 African 99
- 2 American 10799
- 3 American 37
- 4 Asian 518
- Manhattan_groupby['cuisine'] = Manhattan_groupby['violations'].apply(lambda x: 'other' if (x <= 1000) else None)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement