{"id":8768,"library":"vortex-data","title":"Vortex Data","description":"Vortex Data (`vortex-data`) provides Python bindings for Vortex, an Apache Arrow-compatible toolkit designed for working with compressed array data. It focuses on efficient storage, processing, and retrieval of large datasets, often used in scenarios requiring high-performance data analytics and database systems. The library is actively developed with frequent, often monthly, releases, currently at version 0.68.0.","status":"active","version":"0.68.0","language":"en","source_language":"en","source_url":"https://github.com/vortex-data/vortex","tags":["data-compression","apache-arrow","dataframe","numpy","array-processing","high-performance-computing"],"install":[{"cmd":"pip install vortex-data","lang":"bash","label":"Install vortex-data"}],"dependencies":[{"reason":"Commonly used for creating input arrays; required for the quickstart example.","package":"numpy","optional":true}],"imports":[{"symbol":"vortex","correct":"import vortex"},{"note":"The core Array class was renamed to DynArray in v0.62.0; it's recommended to use factory functions like vortex.array.array() or vortex.array.scalar().","wrong":"from vortex.array import Array","symbol":"array","correct":"import vortex.array"}],"quickstart":{"code":"import vortex\nimport numpy as np\n\n# Create a Vortex scalar array with an explicit dtype\nscalar_arr = vortex.array.scalar(10, dtype=vortex.DType.Int32)\nprint(f\"Scalar Array: {scalar_arr}\\n\")\n\n# Create a Vortex array from a NumPy array\nnumpy_arr = np.arange(10, dtype=np.int32)\ncomplex_arr = vortex.array.array(numpy_arr)\nprint(f\"Array from NumPy: {complex_arr}\\n\")\n\n# Get its size and convert to Apache Arrow\nprint(f\"Size in bytes: {complex_arr.nbytes}\\n\")\narrow_array = complex_arr.to_arrow()\nprint(f\"Converted to Arrow: {arrow_array}\")","lang":"python","description":"Demonstrates creating Vortex arrays from scalars and NumPy arrays, and converting them to Apache Arrow arrays."},"warnings":[{"fix":"Use factory functions like `vortex.array.array()` or `vortex.array.scalar()` to create arrays. If direct class interaction is necessary, use `vortex.array.DynArray`.","message":"The core `Array` class was renamed to `DynArray` in version 0.62.0. Direct imports or references to `vortex.array.Array` will result in an `AttributeError`.","severity":"breaking","affected_versions":">=0.62.0"},{"fix":"Consult the latest Vortex documentation for the updated compute API. Functions might have moved, changed signatures, or been removed entirely.","message":"The compute functions API underwent significant changes in version 0.61.0, with many public functions being removed, renamed, or refactored. Code relying on previous compute APIs will likely break.","severity":"breaking","affected_versions":">=0.61.0"},{"fix":"Refactor serialization logic to use the `ArrayPlugin` interface. The direct `array.serialize()` method is no longer available.","message":"The serialization API for Vortex arrays changed in version 0.68.0. The `serialize` method was moved from the `Array` object to `ArrayPlugin::Serialize`.","severity":"breaking","affected_versions":">=0.68.0"},{"fix":"Review usage of `vortex-scan` related functionalities and adapt to the streamlined Scan API as per the latest documentation.","message":"The `vortex-scan` API was refactored in version 0.66.0 to be exclusively focused on the Scan API, potentially affecting modules or functions related to scanning outside this scope.","severity":"breaking","affected_versions":">=0.66.0"}],"env_vars":null,"last_verified":"2026-04-16T00:00:00.000Z","next_check":"2026-07-15T00:00:00.000Z","problems":[{"fix":"Use `vortex.array.array()` or `vortex.array.scalar()` to create array instances. For direct class reference, use `vortex.array.DynArray`.","cause":"Attempting to import or use the `Array` class directly after it was renamed to `DynArray` or its usage pattern shifted.","error":"AttributeError: module 'vortex.array' has no attribute 'Array'"},{"fix":"The serialization API has changed. Refer to the Vortex documentation for the correct way to serialize arrays using `ArrayPlugin`.","cause":"Calling the old `serialize` method directly on a Vortex array instance, which was removed and moved to a plugin interface in v0.68.0.","error":"TypeError: 'vortex.array.DynArray' object has no attribute 'serialize'"},{"fix":"Consult the latest Vortex documentation for the updated compute API. Many functions might have changed names, signatures, or been removed.","cause":"Using a compute function that was removed, renamed, or significantly refactored in version 0.61.0 or later.","error":"NameError: name 'old_compute_function' is not defined (or similar AttributeError on vortex.compute)"}]}