Skip to content

Commit

Permalink
FIX/#285
Browse files Browse the repository at this point in the history
  • Loading branch information
joocer committed Jul 16, 2022
1 parent 8eb118a commit 8bfa05d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opteryx/third_party/pyarrow_ops/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def columns_to_array(table, columns):
# not sure why - but this cannot be a generator
return numpy.array(
[numpy.nan if (el != el) or (el is None) else el for el in column_values]
)
) # nosemgrep

values = (c.to_numpy() for c in table.select(columns).itercolumns())
return numpy.array(list(map(_hash, zip(*values))))

0 comments on commit 8bfa05d

Please sign in to comment.