io-conversion
Open, convert, export, and validate local and optional remote tabular data with Vaex.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- io-conversion
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Open, convert, export, and validate local and optional remote tabular data with Vaex.
- disable-model-invocation
- true
02 资源文件 6
- 参考文档references/astro-and-cloud-io.md5.7 KB
- 参考文档references/data-formats.md8.4 KB
- 参考文档references/io-workflows.md12.2 KB
- 参考文档references/troubleshooting.md7.8 KB
- 脚本scripts/convert_csv_hdf5.py11.2 KB
- 脚本scripts/io_roundtrip_smoke.py6.7 KB
03 SKILL.md 正文
IO Conversion
Use this sub-skill when the task is about getting tabular data into or out of Vaex: opening local files, converting CSV/Arrow/Parquet/Feather/HDF5, exporting DataFrames, checking roundtrips, or diagnosing format-specific failures.
Route first
- For generic DataFrame construction, lazy DataFrame semantics, virtual columns,
selections, and basic inspection, route to
../dataframe-core/SKILL.md. - For overall
vaexcommand discovery, settings, aliases, environment variables, and non-conversion CLI commands, route to../cli-settings/SKILL.md. - For expression syntax, filters used in conversion, groupby/binby/aggregation,
joins, and analytic validation, route to
../expressions-analytics/SKILL.md. - Stay here for
vaex.open,open_many,from_csv,from_csv_arrow,from_pandas,from_arrow_table,df.export*,df.to_arrow_table, local astro file openers, cloud path caveats, andvaex convertdata semantics.
Read order
references/io-workflows.mdfor actionable open/convert/export recipes, API signatures,vaex convertoptions, and roundtrip checks.references/data-formats.mdfor format selection, memory-mapping behavior, schema caveats, and Pandas/Arrow/HDF5 handoff details.references/astro-and-cloud-io.mdfor optional local astro formats and remote/cloud/TAP skip conditions. Do not run network or credentialed checks unless the user explicitly authorizes them.references/troubleshooting.mdwhenvaex.openfails, a plugin is missing, a CSV conversion is memory-heavy, conversion cleanup is surprising, or a file opens in Pandas but not in Vaex.
Safe bundled helpers
scripts/io_roundtrip_smoke.pycreates tiny local data, exercises Vaex export and open roundtrips, and validates Pandas/Arrow table handoffs. It never uses network paths.scripts/convert_csv_hdf5.pyconverts a local CSV to Vaex HDF5 with optional column selection, filtering, sorting, fractioning, chunk size, listing, dry run, and safe partial-output handling. It rejects remote paths.
Run both helpers with --help first. They are safe from arbitrary working
directories and use installed public Vaex APIs rather than source-checkout files.
Operating rules
- Prefer memory-mappable Vaex HDF5 or Arrow-family files for repeated large-data work; treat CSV as an ingestion/interchange format and convert when the same data will be queried repeatedly.
- Use
vaex.open(path)for lazy file-backed access when the format is supported; usevaex.open(path, convert="data.hdf5")or the bundled conversion helper for large CSVs that need a faster local binary representation. - Validate every conversion with at least: row count, column names, a small sample or checksum-like aggregate, and the exact group or file pattern used.
- Treat cloud storage, TAP, and credentialed URLs as optional trust-boundary work. Document the plan and skip by default in automated scripts.
- Never assume a Pandas-created HDF5 file is Vaex-readable. Convert through
vaex.from_pandas(...).export_hdf5(...)when the source HDF5 layout is row oriented or otherwise Pandas-specific.
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).