Platform
Resources
Pricing
Sign in
Get started
Kelvin Li
Workspace
Fork
Public
By
Kelvin Li
Edited
Mar 27, 2024
Insert cell
arrow
=
require
(
'apache-arrow'
)
Insert cell
Insert cell
structVector
=
arrow
.
makeBuilder
(
{
type
:
new
arrow
.
Struct
(
[
new
arrow
.
Field
(
'size'
,
new
arrow
.
Utf8
(
)
)
]
)
,
nullValues
:
[
null
,
undefined
]
}
)
.
append
(
{
size
:
'123'
}
)
.
append
(
{
size
:
'456'
}
)
.
finish
(
)
.
toVector
(
)
Insert cell
Insert cell
column
=
table
.
getChildAt
(
0
)
Insert cell
name
=
table
.
Insert cell
value
=
column
.
get
(
0
)
Insert cell
arrow6
=
require
(
'apache-arrow@6.0.1'
)
Insert cell
arrow6structVector
=
arrow6
.
StructBuilder
.
new
(
{
type
:
new
arrow6
.
Struct
(
[
new
arrow6
.
Field
(
'size'
,
new
arrow6
.
Utf8
(
)
)
]
)
,
}
)
.
append
(
{
size
:
'123'
}
)
.
append
(
{
size
:
'456'
}
)
.
finish
(
)
.
toVector
(
)
;
Insert cell
arrow6Table
=
arrow6
.
Table
.
new
(
{
t
:
arrow6structVector
}
)
Insert cell
v
=
arrow6Table
.
getChildAt
(
0
)
.
get
(
0
)
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
arrow
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
structVector
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
table
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
column
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
value
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
arrow6
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
arrow6structVector
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
arrow6Table
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
v
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML