Skip to content

Commit

Permalink
revert preserve_index because it didn't seem to work
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick Spencer committed Sep 2, 2024
1 parent 338d0a2 commit ad73ea8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shoots/shoots_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,8 @@ 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, preserve_index=False)

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

0 comments on commit ad73ea8

Please sign in to comment.