vaex
Use Vaex for lazy out-of-core DataFrames, file conversion, expressions, analytics, visualization, ML pipelines, servers, and CLI/settings workflows.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- vaex
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Use Vaex for lazy out-of-core DataFrames, file conversion, expressions, analytics, visualization, ML pipelines, servers, and CLI/settings workflows.
- disable-model-invocation
- true
02 资源文件 7
- 参考文档references/installation-and-packages.md5.4 KB
- 参考文档references/performance-and-execution.md4.2 KB
- 参考文档references/repo-provenance.md4.7 KB
- 参考文档references/repo-routing-metadata.json473 B
- 参考文档references/source-evidence-map.md7.5 KB
- 参考文档references/troubleshooting.md5.7 KB
- 脚本scripts/check_vaex_environment.py7.3 KB
03 SKILL.md 正文
Vaex Repo Skill
Use this repo skill when a task names Vaex, vaex, out-of-core Python DataFrames, lazy tabular analytics, memory-mapped HDF5/Arrow/Parquet data, Vaex expressions, virtual columns, fast groupby/statistics, Vaex visualization/Jupyter widgets, vaex-ml, vaex server, or the vaex CLI/settings surface.
Start Here
- Read references/repo-provenance.md before deciding whether this skill is current for a Vaex checkout or whether
refresh-repo-skillis needed. - Read references/source-evidence-map.md to see which source, docs, tests, scripts, and optional surfaces informed this self-contained skill.
- Read references/installation-and-packages.md when choosing between the Vaex meta package and component packages such as
vaex-core,vaex-hdf5,vaex-ml,vaex-server,vaex-viz,vaex-jupyter, andvaex-astro. - Read references/performance-and-execution.md for lazy/out-of-core execution, memory mapping, caches, progress, and thread settings that affect several workflows.
- Read references/troubleshooting.md for cross-cutting install/import, optional dependency, source-build, cache/example-data, and version-specific issues.
- Run scripts/check_vaex_environment.py to inspect an installed Vaex package set without depending on a source checkout.
Installation and Import
Prefer a package-manager install for ordinary use:
python -m pip install vaex
# or
conda install -c conda-forge vaex
python - <<'PY'
import vaex
print(vaex.__version__)
df = vaex.from_arrays(x=[1, 2, 3])
print(df.sum('x'))
PY
Install component packages only when you intentionally want a narrower environment, for example vaex-core vaex-hdf5 vaex-viz vaex-ml vaex-server. Avoid source builds unless the task is specifically about contributing to Vaex or diagnosing compiled-extension build failures.
Route by Task
| User task | Read this sub-skill |
|---|---|
| Create or inspect a Vaex DataFrame, write filters/selections, add virtual columns, debug non-identifier column names, avoid accidental materialization | dataframe-core |
| Open, convert, export, and validate CSV, Arrow, Parquet, Feather, HDF5, Pandas/Arrow tables, local astro formats, or cloud/TAP paths | io-conversion |
| Use expressions, selections, string/datetime/struct/geo accessors, statistics, groupby/binby grids, joins, sorting, uniques, and analytic validation | expressions-analytics |
Build vaex-ml transformations, train/test splits, sklearn wrappers, pipelines, state transfer, PCA/KMeans, or optional model integrations |
ml-pipelines |
| Plot histograms, heatmaps, scatter plots, expression plots, static Matplotlib outputs, Jupyter widgets, or progress displays | visualization-jupyter |
Start or inspect vaex server, REST or PNG plot endpoints, WebSocket remote DataFrames, tokens, base URLs, local TestClient checks, or optional GraphQL |
serving-remote |
Use the vaex console, vaex open/stat checks, aliases, settings YAML/JSON/env vars, or command-side risk flags |
cli-settings |
Core Rules
- Treat Vaex as lazy and out-of-core by default. Prefer expressions, virtual columns, selections, filters, aggregations, and chunked evaluation over full
.values,to_pandas_df, or NumPy conversion. - Use bracket access for non-identifier column names:
df['column with spaces']rather than attribute access or fragile expression strings. - Convert repeat-query CSV workflows to Vaex-friendly HDF5/Arrow/Parquet when the data is large or repeatedly analyzed; validate row counts, columns, and a small aggregate after conversion.
- Keep plotting separate from analytics: compute/count/group in
expressions-analytics, then render invisualization-jupyter. - Treat
vaex serveras a service boundary. Use explicitname=pathdataset names, prefer loopback for tests, and do not start public listeners without approval. - Treat optional cloud, TAP, GraphQL, TensorFlow, Jupyter frontend, GUI, and benchmark workflows as opt-in; do not install broad extras or run network/credentialed checks unless the user asks.
Source Build Guardrails
For normal Vaex API work, do not build from source. Source builds need recursive submodules, compiled C++ extensions, PCRE headers/libraries, Python-version-compatible NumPy/build tools, and often conda-forge-style dependencies. If a user explicitly needs source development or build repair, read references/installation-and-packages.md and ask before mutating host build tools or a user-owned environment.
Self-Containment
This skill distills Vaex repository docs, source, tests, scripts, and installed-package inspection into bundled references and scripts. Runtime instructions here do not require access to the original Vaex checkout.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).