daily pastebin goal
49%
SHARE
TWEET

Untitled

a guest Dec 18th, 2018 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. df['variable'].replace(d, inplace=True, regex=True)
  2.    
  3. d_und = dict(zip(['u.','/',',','undd'], ['und']*5))
  4. d_uhr = dict(zip(['Uhr','UHR','h$'], ['']*3))
  5. d_sonstige = dict(zip(['s+','bis','BIS','_','\n',';','.-',':-','::'], ['','-','-','-','',':','-','-',':']))
  6. d = {**d_und,**d_uhr,**d_sonstige}
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