Runs, debugs, and migrates Vaex code for out-of-core tabular analytics on memory-mapped HDF5/Arrow/Parquet files. Best for maintaining existing Vaex pipelines or porting them to Polars.
Ships in alterlab-data-science. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Vaex is a Python library for lazy, out-of-core DataFrames: it memory-maps HDF5/Arrow files, evaluates expressions lazily, and computes statistics on N-dimensional grids fast enough for interactive work on billions of rows on a single machine.
Vaex is effectively in minimal-maintenance mode. In the project's "Is Vaex active?" discussion (vaexio/vaex #2363, June 2024), one core developer stated he is no longer involved and the other committed only to "do my best to at least get vaex releases out". Releases have slowed to roughly one per year (vaex-core 4.18 in Oct 2024, 4.19 in Sep 2025), and 4.19 still supports only Python 3.9–3.12 with pandas<3; the 2-D matplotlib plots break on matplotlib ≥ 3.9. Practical consequences:
alterlab-polars) — pl.scan_parquet(...) plus collect(engine="streaming") covers most larger-than-RAM aggregation work — or Dask (alterlab-dask) for clusters. Recommend Vaex for new work only when its specific strengths (memory-mapped HDF5, fast binned statistics/visualization of huge tables) matter and the user accepts the environment constraints.vaex.open (memory-mapped) and run the aggregations here; mention a one-time Parquet export only as the migration path.Use this skill when the user wants to:
vaex.open, virtual columns, selections, vaex.ml).delay=True / df.execute().| Scenario | Use Instead |
|---|---|
| New larger-than-RAM analytics project with no existing Vaex code whose data is Parquet/CSV/Arrow (not HDF5), or Python 3.13+ / pandas 3 environments | alterlab-polars |
| Data fits in memory and the goal is the fastest in-memory groupby/joins | alterlab-polars |
| Multi-node cluster execution, task graphs, or a distributed scheduler dashboard | alterlab-dask |
| Chunked N-D scientific arrays (not tables) on disk or cloud object stores | alterlab-zarr |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-polars) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.
# Dedicated environment — vaex 4.19 has no wheels for Python 3.13+ and requires pandas < 3
uv venv --python 3.12 .venv-vaex
uv pip install --python .venv-vaex "vaex==4.19.*"
uv pip install --python .venv-vaex "matplotlib<3.9" # only if you need df.viz.heatmap
uv run --python .venv-vaex python analysis.py
# One-off alternative with no venv: uv run --python 3.12 --with "vaex==4.19.*" --with "matplotlib<3.9" python analysis.py
Vaex provides six capability areas, each documented in references/:
Open HDF5/Arrow/Parquet/CSV files, convert from pandas/NumPy/Arrow, and inspect structure — references/core_dataframes.md.
Filtering, named selections, virtual columns and expressions, groupby/aggregations, strings, datetimes, and missing data — references/data_processing.md.
Lazy evaluation, delay=True batching, materialization, caching, and async execution — references/performance.md.
Binned histograms and heatmaps of huge tables via the df.viz accessor, selections, and widgets — references/visualization.md.
vaex.ml scalers, encoders, PCA, k-means, and scikit-learn/XGBoost/LightGBM/CatBoost wrappers — references/machine_learning.md. The booster and scikit-learn wrappers materialize the training features in memory; only the transformers and prediction columns stay lazy.
Format recommendations, export strategies, Arrow interop, chunked CSV conversion, and remote data — references/io_operations.md.
import vaex
# 1. Open or create a DataFrame
df = vaex.open('large_file.hdf5') # or .arrow, .parquet; CSV is read (and optionally converted)
# OR
df = vaex.from_pandas(pandas_df)
# 2. Explore
print(df) # first/last rows and column info
df.describe() # statistical summary
# 3. Virtual columns (no memory overhead)
df['new_column'] = df.x ** 2 + df.y
# 4. Filter
df_filtered = df[df.age > 25]
# 5. Statistics (lazy, computed in passes over the data)
mean_val = df.x.mean()
stats = df.groupby('category').agg({'value': 'sum'})
# 6. Visualize (df.plot1d / df.plot are deprecated aliases of these)
df.viz.histogram(df.x, limits=[0, 100])
df.viz.heatmap(df.x, df.y, limits='99.7%') # needs matplotlib < 3.9
# 7. Export
df.export_hdf5('output.hdf5')
delay=True when computing several statistics.df.byte_size() and inspect data with df.describe() before optimizing.vaex==4.19.*) and record it with results so analyses stay reproducible.import vaex
# convert=True streams the CSV in chunks to an HDF5 file next to it
df = vaex.from_csv('large_file.csv', convert=True, chunk_size=5_000_000)
# Future loads are memory-mapped and near-instant
df = vaex.open('large_file.csv.hdf5')
# delay=True batches several aggregations into ONE pass over the data.
# Each delayed call returns a promise; df.execute() runs them together.
mean_x = df.mean(df.x, delay=True)
std_y = df.std(df.y, delay=True)
sum_z = df.sum(df.z, delay=True)
df.execute()
print(mean_x.get(), std_y.get(), sum_z.get())
# No memory overhead — computed on the fly
df['age_squared'] = df.age ** 2
df['full_name'] = df.first_name + ' ' + df.last_name
df['is_adult'] = df.age >= 18
# Vaex: df = vaex.open('big.parquet'); df['z'] = df.x ** 2 + df.y
# df[df.x > 0.5].groupby('category').agg({'z': 'mean'})
import polars as pl
result = (
pl.scan_parquet('big.parquet') # lazy, like vaex.open
.with_columns((pl.col('x') ** 2 + pl.col('y')).alias('z')) # virtual column
.filter(pl.col('x') > 0.5) # filter
.group_by('category').agg(pl.col('z').mean()) # groupby/agg
.collect(engine='streaming') # out-of-core execution
)
Polars cannot read Vaex's HDF5 layout directly — export once with df.export_parquet(...) or df.export_arrow(...). Several delay=True statistics become one select(...) in a single lazy query. See alterlab-polars for the rest of the Polars API.
references/core_dataframes.md — DataFrame creation, loading, and basic structurereferences/data_processing.md — filtering, expressions, aggregations, and transformationsreferences/performance.md — optimization strategies and lazy evaluationreferences/visualization.md — plotting and interactive visualizationsreferences/machine_learning.md — ML pipelines and model integrationreferences/io_operations.md — file formats and data import/exportPart of the AlterLab Academic Skills suite.
evals/evals.json (opens in a new tab)references/core_dataframes.md (opens in a new tab)references/data_processing.md (opens in a new tab)references/io_operations.md (opens in a new tab)references/machine_learning.md (opens in a new tab)references/performance.md (opens in a new tab)references/visualization.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
22 skills in this plugin
/alterlab-daskScales pandas/NumPy workflows beyond memory with Dask distributed computing — parallel DataFrames, arrays, delayed task graphs, and cluster execution. Use when existing pandas/NumPy code must run on larger-than-RAM data or across clusters, for parallel file processing, distributed ML, or integration with existing pandas code. For out-of-core analytics on a single machine prefer vaex; for in-memory speed prefer polars. Part of the AlterLab Academic Skills suite./alterlab-edaExploratory data analysis (EDA) on a scientific data file — auto-detects the format, runs structure/quality/statistics checks, and writes a markdown EDA report with downstream recommendations. Use when asked to "explore", "analyze", "summarize", "profile", or "QC" a data file, or to understand its structure/content/quality before deciding what analysis to run. Covers tabular (.csv .tsv .xlsx .parquet), arrays (.npy .npz .hdf5 .h5 .mat .fits), sequence/genomics (.fasta .fastq .sam .bam .vcf .bed .gff .gtf .h5ad), microscopy (.tif .nd2 .czi .lif .ims .dcm .nii), spectroscopy/MS (.mzML .mzXML .mgf .fid .jdx), chemistry (.pdb .cif .mol .sdf .xyz .gro), and proteomics/metabolomics (.pepXML .mzid .mzTab). For zero-shot forecasting of a series use alterlab-timesfm; to create/configure a chunked cloud array store use alterlab-zarr. Part of the AlterLab Academic Skills suite./alterlab-data-science:alterlab-vaexfrom alterlab-data-science
npx claudepluginhub alterlab-ieu/alterlab-academic-skills --plugin alterlab-data-scienceOther plugins' skills for the same job