From 7255b6c47fac0b8ea12295fb55e5ecac16385e39 Mon Sep 17 00:00:00 2001 From: Casey Clements Date: Fri, 20 Sep 2024 18:43:14 -0400 Subject: [PATCH] PyArrow -> Arrow --- source/bson-binary-vector/bson-binary-vector.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/bson-binary-vector/bson-binary-vector.md b/source/bson-binary-vector/bson-binary-vector.md index 16031f6988..47d64cd3c3 100644 --- a/source/bson-binary-vector/bson-binary-vector.md +++ b/source/bson-binary-vector/bson-binary-vector.md @@ -31,11 +31,11 @@ Drivers SHOULD provide idiomatic APIs to translate between arrays of numbers and Each vector can take one of multiple data types (dtypes). The following table lists the first dtypes implemented. -| Vector data type | Alias | Bits per vector element | [PyArrow Data Type](https://arrow.apache.org/docs/cpp/api/datatype.html) (for illustration) | -| ---------------- | ---------- | ----------------------- | ------------------------------------------------------------------------------------------- | -| `0x03` | INT8 | 8 | INT8 | -| `0x27` | FLOAT32 | 32 | FLOAT | -| `0x10` | PACKED_BIT | 1 `*` | BOOL | +| Vector data type | Alias | Bits per vector element | [Arrow Data Type](https://arrow.apache.org/docs/cpp/api/datatype.html) (for illustration) | +| ---------------- | ---------- | ----------------------- | ----------------------------------------------------------------------------------------- | +| `0x03` | INT8 | 8 | INT8 | +| `0x27` | FLOAT32 | 32 | FLOAT | +| `0x10` | PACKED_BIT | 1 `*` | BOOL | `*` A Binary Quantized (PACKED_BIT) Vector is a vector of 0s and 1s (bits), but it is represented in memory as a list of integers in \[0, 255\]. So, for example, the vector `[0, 255]` would be shorthand for the 16 bit vector