daily pastebin goal
40%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 51 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. df.loc[df['job_title'].str.contains('teacher'), 'job_title'] = 'teacher'
  2.    
  3. dictionary = {'teacher per session':'teacher', 'teacher special ed':'teacher'}
  4. df['job_title'] = df.job_title.replace(dictionary)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top