Skip to content

Commit

Permalink
Update display in "Extract an Arrow Field from an Arrow Schema by
Browse files Browse the repository at this point in the history
name" section
  • Loading branch information
sgilmore10 committed Nov 21, 2023
1 parent bfeda99 commit 87a1eea
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions matlab/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,17 +450,21 @@ Number: double
```matlab
>> arrowSchema
arrowSchema =
arrowSchema =
Letter: string
Number: double
Arrow Schema with 2 fields:
Letter: String | Number: Int8
% Specify the field to extract by its name (i.e. "Letter")
>> field = arrowSchema.field("Letter")
field =
field =
Letter: string
Field with properties:
Name: "Letter"
Type: [1×1 arrow.type.StringType]
```

### Arrow `Schema` class
Expand All @@ -470,7 +474,7 @@ Letter: string
```matlab
>> letter = arrow.field("Letter", arrow.string())
etter =
letter =
Field with properties:
Expand Down

0 comments on commit 87a1eea

Please sign in to comment.