Created
February 7, 2020 13:44
-
-
Save masaponto/9d57107b5549ee5ed03ae1c392fe6ae5 to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/env python | |
import pandas as pd | |
def main(): | |
df = pd.read_csv('app_master.csv', index_col=None) | |
json = df.to_json(orient='records',force_ascii=False) | |
print(json) | |
with open("app_master.json", mode='w') as f: | |
f.write(json) | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment