Skip to content

Commit

Permalink
Update display in "Create an Arrow Schema from multiple Arrow
Browse files Browse the repository at this point in the history
`Field`s" section
  • Loading branch information
sgilmore10 committed Nov 21, 2023
1 parent 0e17a4e commit bfeda99
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions matlab/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,22 +470,29 @@ Letter: string
```matlab
>> letter = arrow.field("Letter", arrow.string())
letter =
etter =
Letter: string
Field with properties:
Name: "Letter"
Type: [1×1 arrow.type.StringType]
>> number = arrow.field("Number", arrow.int8())
number =
number =
Number: int8
Field with properties:
Name: "Number"
Type: [1×1 arrow.type.Int8Type]
>> schema = arrow.schema([letter, number])
schema =
schema =
Letter: string
Number: int8
Arrow Schema with 2 fields:
Letter: String | Number: Int8
```

#### Get the `Schema` of an Arrow `RecordBatch`
Expand Down

0 comments on commit bfeda99

Please sign in to comment.