Guest User

Untitled

a guest
Dec 18th, 2018
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  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}
Add Comment
Please, Sign In to add comment