Skip to content

Commit

Permalink
Pass Array To DataFrame Constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenv committed Aug 16, 2023
1 parent f04e81f commit a63b5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiledb/multirange_indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def _run_query(self) -> Union[DataFrame, Table]:

df = table.to_pandas()
else:
df = DataFrame(_get_pyquery_results(self.pyquery, self.array.schema))
df = DataFrame(_get_pyquery_results(self.pyquery, self.array))

with timing("pandas_index_update_time"):
return _update_df_from_meta(df, self.array.meta, self.query.index_col)
Expand Down

0 comments on commit a63b5f2

Please sign in to comment.