Published unlisted
Edited
May 29, 2019
Insert cell
md`# Arrow JS numeric vector \`from\` functions`
Insert cell
Int32Array.from([1,2,3,4,5,6])
Insert cell
Float32Array.from([1.0,2.0,3.0])
Insert cell
Float64Array.from(Float32Array.from([3.14,1.21,2.718]))
Insert cell
Int32Array.from(Float32Array.from([3,2,1]))
Insert cell
arrow = require('apache-arrow@0.4.1')
Insert cell
Array.from(arrow.Int32Vector.from([1,2,3]));
Insert cell
Array.from(arrow.Int32Vector.from(Int8Array.from([1,2,3,4])))
Insert cell
Array.from(arrow.Int64Vector.from(Int8Array.from([1,2,3,4,5,6,7,8])))
Insert cell
Array.from(arrow.Int64Vector.from([1,2,3,4,5,6,7,8]))
Insert cell
Array.from(arrow.Int64Vector.from(Int32Array.from([1,2,3,4,5,6,7,8])))
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.
Learn more