Skip to content

Commit

Permalink
try preserve_index as per issue #39
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick Spencer committed Sep 2, 2024
1 parent 9804acd commit 338d0a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shoots/shoots_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,7 @@ def _resample_time_series(self, resample_info):
method = getattr(df_source, aggregation_func, None)
df_target = method()
target_rows = df_target.shape[0]

table = pa.Table.from_pandas(df_target)
table = pa.Table.from_pandas(df_target, preserve_index=False)
if mode != "append":
self._write_arrow_table(target, mode ,target_bucket, table)
else:
Expand Down

0 comments on commit 338d0a2

Please sign in to comment.