Created
March 25, 2017 14:50
-
-
Save maksimt/d840e1addf8965e16f3d90b335f3a699 to your computer and use it in GitHub Desktop.
query formating.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query = 'Inptn Days in ST Psychiatric' | |
for rep in replacements: | |
query = query.replace(rep[0], rep[1]) | |
print query.lower() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment