Expand description
Data type parsing and conversion utilities for Zarr arrays
Handles conversion between Zarr dtype strings and Arrow DataTypes.
Functions§
- parse_
v2_ dtype - Parse Zarr v2 numpy dtype string to normalized type name Examples: “<i8” -> “int64”, “<f4” -> “float32”, “|b1” -> “bool”
- zarr_
dtype_ to_ arrow - Convert Zarr dtype string to Arrow DataType
- zarr_
dtype_ to_ arrow_ dictionary - Convert Zarr dtype to Arrow Dictionary type for coordinates Uses Int16 keys (supports up to 32K unique values) with the value type from Zarr