# Vaex

Python dataframe library for lazy out\-of\-core table exploration, statistics and visualization\.

ID: Q204 · Revision: 1470

Type: software · License: Open\-source software under the MIT license\.[^repo] · Status: active

Website: https://vaex.io/



Vaex is a Python dataframe library for exploring large tabular datasets with lazy expressions, statistics and visualization\. It uses memory\-mappable storage where suitable and evaluates derived columns on demand, making data layout and materialization choices central to its workflow\.[^repo][^performance]

## Exploration workflow

Vaex combines table filtering and expressions with statistical aggregation and visualization\. Histograms and density plots summarize large collections rather than requiring every row to be drawn separately\. File\-backed columns and lazy transformations allow an analysis to defer copying or computing values until needed\. This design is useful for exploratory work, but does not by itself establish a fixed processing rate on a user's hardware\.[^repo]

## Virtual and materialized columns

A column derived from existing columns can remain virtual: Vaex stores its expression and evaluates it in chunks when requested\. Repeated evaluation may cost more computation than retaining the calculated values\. Materializing a column changes that tradeoff, and exporting materialized data to suitable storage allows workers to access shared file\-backed data\. Memory savings and execution speed are therefore separate considerations\.[^performance]

## Storage and interchange

Vaex expects column\-oriented HDF5, whereas the FAQ describes pandas to\_hdf output as a different, row\-oriented layout\. Its documented conversion route creates a Vaex dataframe and then exports compatible HDF5\. Arrow offers another interchange route, while Parquet requires decoding compressed content rather than obtaining the same memory\-mapping benefit\. Matching a filename extension alone is insufficient to establish direct compatibility\.[^faq]

## CSV ingestion

The I/O guide documents lazy CSV reading through vaex\.open, powered by Arrow, beginning with version 4\.14\. It first scans for metadata such as row counts and inferred types\. Other readers can use pandas or convert data into HDF5\. The chunked conversion example requires free disk space twice the final HDF5 size, so a memory\-efficient ingest can still need considerable temporary storage\.[^io]

## Types and filtered data

Columns and expressions require a uniform data type; general NumPy object columns are not supported by the documented type table\. Filtering also retains lazy indexing over the underlying data rather than immediately shrinking it\. The FAQ directs users to extract the filtered dataframe before manually adding an array\-sized column matching only the visible rows\. These semantics affect code ported from mutable in\-memory tables\.[^types][^faq]

## Availability and substitution

Vaex is MIT\-licensed and available through Python package tools\. Its meta\-package brings multiple components, while users can select core, visualization, notebook and storage packages separately\. It can substitute for [pandas](/pandas) for supported large\-table exploration and aggregation after adapting expressions and types\. The selected format and operations determine practical memory behavior; no installation or comparative benchmark is claimed here\.[^repo][^install][^pandas][^types]

Vaex can substitute for [Polars](/polars) for supported filtering, derived\-column calculations and statistical summaries of large typed tables in Python\. Its virtual columns and file\-backed exploration can suit an analysis that prioritizes memory use and interactive summaries\. Rewrite expressions and check storage formats, types and materialization points; lazy execution in both libraries does not establish API compatibility or identical memory and speed behavior\.[^vaex-overview][^performance][^io][^polars-lazy]

## Capabilities and substitutions

### Lazy derived columns — supported

Virtual columns retain expressions and evaluate them when needed; materialization trades memory for avoiding recomputation\.[^performance]

Use case: Exploring and aggregating large typed tabular datasets · Platforms: Python · Region: Version, build and integration requirements apply

### pandas data migration — limited

Uniform column types and column\-oriented HDF5 layouts matter; pandas to\_hdf output is not directly equivalent\.[^faq][^types]

Use case: Exploring and aggregating large typed tabular datasets · Platforms: Python · Region: Version, build and integration requirements apply

### Large CSV analysis — supported

The documented vaex\.open route reads CSV lazily through Arrow; other CSV routes may first use pandas\.[^io]

Use case: Exploring and aggregating large typed tabular datasets · Platforms: Python · Region: Version, build and integration requirements apply

### [Substitute for pandas](/pandas) — limited

Can replace pandas for large\-table exploration and aggregation when users adapt expressions, data types and storage\. Not a complete pandas API replacement or a guarantee that arbitrary mixed\-object tables migrate unchanged\.[^repo][^faq][^types][^pandas]

Use case: Exploring and aggregating large typed tabular datasets · Platforms: Python · Region: Version, build and integration requirements apply

### [Substitute for Polars](/polars) — limited

Covers supported filtering, derived columns and statistical summaries in Python, using virtual columns and file\-backed exploration\. Expressions, formats and materialization need adaptation; neither API compatibility nor equal performance is established\.[^performance][^polars-lazy][^vaex-overview]

Use case: Filtering and summarizing large typed tables · Platforms: Python · Region: Operation, data\-type, file\-format and resource requirements apply

## References

[^repo]: [Vaex repository](<https://github.com/vaexio/vaex>) — Out\-of\-core dataframes, statistics, visualization and MIT license (vendor; retrieved 2026-10-07T17:42:11Z)

[^performance]: [Vaex performance notes](<https://vaex.io/docs/guides/performance.html>) — Virtual columns, materialization and shared file\-backed data (vendor; retrieved 2026-10-07T17:42:23Z)

[^faq]: [Vaex frequently asked questions](<https://vaex.io/docs/faq.html>) — Column\-oriented HDF5 and filtered\-data column insertion (vendor; retrieved 2026-10-07T17:41:13Z)

[^io]: [Vaex input/output guide](<https://vaex.io/docs/guides/io.html>) — Lazy CSV reading, conversion disk requirements and Parquet (vendor; retrieved 2026-10-07T17:42:23Z)

[^types]: [Vaex data types](<https://vaex.io/docs/guides/data_types.html>) — Single dtype per column and unsupported object dtype (vendor; retrieved 2026-10-07T17:41:13Z)

[^install]: [Installing Vaex](<https://vaex.io/docs/installing.html>) — Meta\-package and optional components (vendor; retrieved 2026-10-07T17:42:11Z)

[^pandas]: [About pandas](<https://pandas.pydata.org/about/>) — Tabular transformation, grouping and I/O (vendor; retrieved 2026-10-07T17:05:05Z)

[^polars-lazy]: [Polars lazy API](<https://docs.pola.rs/user-guide/concepts/lazy-api/>) — Query planning and deferred execution (vendor; retrieved 2026-10-11T14:42:22Z)

[^vaex-overview]: [Vaex dataframe overview](<https://vaex.io/docs/>) — Lazy out\-of\-core dataframes, statistical aggregation and exploratory visualization (vendor; retrieved 2026-10-11T14:42:22Z)

Source revision: https://substitutefor.net/entities/Q204?revision=1470
