From a4a2bc4e8b7dc48460664be791525e8cb4d55e56 Mon Sep 17 00:00:00 2001 From: OnnoEbbens Date: Tue, 14 Nov 2023 14:14:53 +0100 Subject: [PATCH] fix for #108 --- pastastore/store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pastastore/store.py b/pastastore/store.py index 1433ec2..81c7c3e 100644 --- a/pastastore/store.py +++ b/pastastore/store.py @@ -973,7 +973,7 @@ def from_zip( for f in tqdm(namelist, desc="Reading zip") if progressbar else namelist: libname, fjson = os.path.split(f) if libname in ["stresses", "oseries"]: - s = pd.read_json(archive.open(f), orient="columns") + s = pd.read_json(archive.open(f), dtype=float, orient="columns") if not isinstance(s.index, pd.DatetimeIndex): s.index = pd.to_datetime(s.index, unit="ms") s = s.sort_index()