Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions btrdb/transformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,7 @@ def arrow_to_dataframe(
tmp = tmp_table.select(["time", *usable_cols])
else:
tmp = tmp_table
df = tmp.to_pandas(date_as_object=False, types_mapper=pd.ArrowDtype)
df = df.set_index("time")
df.index = pd.DatetimeIndex(df.index, tz="UTC")
return df
return tmp.to_pandas(date_as_object=False, types_mapper=pd.ArrowDtype)


def to_dataframe(streamset, columns=None, agg="mean", name_callable=None):
Expand Down Expand Up @@ -668,5 +665,7 @@ class StreamSetTransformer(object):
to_polars = to_polars
arrow_to_polars = arrow_to_polars

arrow_to_arrow_table = arrow_to_arrow_table

to_csv = to_csv
to_table = to_table
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "btrdb"
version = "5.30.1"
version = "5.30.2"
authors = [
{name="PingThingsIO", email="[email protected]"},
]
Expand Down