Skip to content

Commit

Permalink
VER: Release 0.19.1
Browse files Browse the repository at this point in the history
See release notes.
  • Loading branch information
nmacholl authored Sep 8, 2023
2 parents 7f0cace + 9582238 commit fb08a78
Show file tree
Hide file tree
Showing 6 changed files with 245 additions and 221 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.19.1 - 2023-09-08

#### Bug fixes
- Fixed an issue where the index column was not serialized with `DBNStore.to_json`
- Fixed an issue where timestamps serialized by `DBNStore.to_json` had reduced precision

## 0.19.0 - 2023-08-25

This release includes improvements to handling large DBN data and adds support for future datasets.
Expand Down
2 changes: 2 additions & 0 deletions databento/common/dbnstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -1046,9 +1046,11 @@ def to_json(

with open(path, "x") as json_path:
for frame in df_iter:
frame.reset_index(inplace=True)
frame.to_json(
json_path,
orient="records",
date_unit="ns",
lines=True,
)

Expand Down
Loading

0 comments on commit fb08a78

Please sign in to comment.