Guest User

Untitled

a guest
May 23rd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. df['banned'] = df['toxic'] + df['severe_toxic'] + df['obscene'] + df['threat'] + df['insult'] + df['identity_hate']
  2. df['banned'] = df['banned'].astype(bool)
  3. df['banned'].value_counts()
Add Comment
Please, Sign In to add comment