Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Datasets:
maximedb
/
wow
like
1
Modalities:
Text
Size:
100K - 1M
Libraries:
Datasets
Croissant
Dataset card
Viewer
Files
Files and versions
Community
main
wow
/
create_file.py
Maxime
update train.json
9599223
about 3 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
199 Bytes
import
json
with
open
(
"original/train.json"
)
as
f:
data = json.load(f)
with
open
(
"train.json"
,
"w+"
)
as
f:
for
line
in
data:
f.write(json.dumps(line, ensure_ascii=
False
) +
"\n"
)