Skip to content

Commit

Permalink
Linter correction
Browse files Browse the repository at this point in the history
  • Loading branch information
AlenkaF committed Jan 10, 2023
1 parent dbe9a8a commit a99d0c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/pyarrow/interchange/from_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,9 +516,9 @@ def validity_buffer_nan_sentinel(
else:
sentinel_dtype = data_dtype
pyarrow_data = pa.Array.from_buffers(sentinel_dtype,
length,
[None, data_pa_buffer],
offset=offset)
length,
[None, data_pa_buffer],
offset=offset)
sentinel_arr = pc.equal(pyarrow_data, sentinel_val)
mask_bool = pc.invert(sentinel_arr)
return mask_bool.buffers()[1]
Expand Down

0 comments on commit a99d0c1

Please sign in to comment.