Skip to content

Commit

Permalink
fix for #108
Browse files Browse the repository at this point in the history
  • Loading branch information
OnnoEbbens committed Nov 14, 2023
1 parent 38e6a49 commit a4a2bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pastastore/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a4a2bc4

Please sign in to comment.