Skip to content

Commit 95c09fd

Browse files
committed
fixed a bug with reading jsonl files
1 parent a2da9c9 commit 95c09fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ssb-konjunk"
3-
version = "2.0.1"
3+
version = "2.0.2"
44
description = "SSB Konjunk 422"
55
authors = ["Johanne Saxegaard <jox@ssb.no>, Halvor Steffenssen <hvr@ssb.no>"]
66
license = "MIT"

src/ssb_konjunk/saving.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def read_ssb_file(
382382
f"Columns argumentet blir ignorert for {filetype} filer, hele filen vil bli lastet inn.",
383383
stacklevel=2,
384384
)
385-
df = pd.read_json(file_path, lines=False)
385+
df = pd.read_json(file_path, lines=True)
386386
elif filetype == "json":
387387
if columns is not None:
388388
warnings.warn(

0 commit comments

Comments
 (0)