Skip to content

Commit

Permalink
Update "Specify Null Values when constructing an arrow.array.Int8Arra…
Browse files Browse the repository at this point in the history
…y" example.
  • Loading branch information
kevingurney committed Nov 7, 2023
1 parent 809fce5 commit 36434c1
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions matlab/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ matlabArray =
matlabArray =
1×5 int8 row vector
1x5 int8 row vector
122 -1 127 -10 127
Expand All @@ -168,22 +168,18 @@ matlabArray =
validElements =
1×5 logical array
1x5 logical array
1 0 1 0 1
% Specify which values are Null/Valid by supplying a logical validity "mask"
>> arrowArray = arrow.array(matlabArray, Valid=validElements)
arrowArray =
arrowArray =
[
122,
null,
127,
null,
127
]
Int8Array with 5 elements and 2 null values:
122 | null | 127 | null | 127
```

### Arrow `RecordBatch` class
Expand Down

0 comments on commit 36434c1

Please sign in to comment.