Skip to content

Commit 75d556c

Browse files
committed
dump json as jsonl
1 parent 690b00f commit 75d556c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/config/test_seed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def create_partitions_in_path(temp_dir: Path, extension: str, num_files: int = 2
2020
elif extension == "csv":
2121
df.to_csv(file_path, index=False)
2222
elif extension == "json":
23-
df.to_json(file_path, orient="records")
23+
df.to_json(file_path, orient="records", lines=True)
2424
elif extension == "jsonl":
2525
df.to_json(file_path, orient="records", lines=True)
2626
return temp_dir

0 commit comments

Comments
 (0)