Package Usage: go: git.sr.ht/~sbinet/go-arrow
Package arrow provides an implementation of Apache Arrow.
Apache Arrow is a cross-language development platform for in-memory data. It specifies a standardized
language-independent columnar memory format for flat and hierarchical data, organized for efficient analytic
operations on modern hardware. It also provides computational libraries and zero-copy streaming
messaging and inter-process communication.
The fundamental data structure in Arrow is an Array, which holds a sequence of values of the same type. An array
consists of memory holding the data and an additional validity bitmap that indicates if the corresponding entry in the
array is valid (not null). If the array has no null entries, it is possible to omit this bitmap.
This example shows how to create a FixedSizeList array.
The resulting array should be:
This example shows how one can slice an array.
The initial (float64) array is:
and the sub-slice is:
This example demonstrates creating an array, sourcing the values and
null bitmaps directly from byte slices. The null count is set to
UnknownNullCount, instructing the array to calculate the
null count from the bitmap when NullN is called.
This example shows how to create a List array.
The resulting array should be:
This example demonstrates how to build an array of int64 values using a builder and Append.
Whilst convenient for small arrays,
This example shows how to create a Struct array.
The resulting array should be:
3 versions
Latest release: almost 3 years ago
2 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/git.sr.ht/~sbinet/go-arrow
Dependent Repos 1
go-hep/hep
hep is the mono repository holding all of go-hep.org/x/hep packages and toolsLast synced: 7 months ago