Created
December 29, 2019 21:20
-
-
Save mmsamiei/26bb9701e9b40396f8aa8317b105355b 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
import json | |
freader = open('test_random_split.json') | |
data = json.load(freader) | |
with open('correct-sample.json', 'w') as | |
for entry in data: | |
json.dump(entry, outfile) | |
outfile.write('\n') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment