AGENT SKILL

vaex-delayed-statistics

Schedule and execute selected Vaex statistics explicitly for a CSV input.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 1
Forks
0

01 前言 Front Matter

name
vaex-delayed-statistics
license
MIT
description
Schedule and execute selected Vaex statistics explicitly for a CSV input.

02 资源文件 5

03 SKILL.md 正文

Vaex: explicitly delayed statistics

Apply Caveman for every task, CocoIndex Code before broad repository navigation, and Crawl4AI for web-page research. Follow docs/agent-tools.md in the repository root and retain the required execution evidence.

This maintained overlay covers selected CSV and delayed-statistic examples from the locked Vaex skill, its performance reference and I/O reference. It was tested with vaex-core 4.19.0 and Python 3.12 in the recorded Windows and Linux environments. It is not a full review or an agent-performance result.

A virtual column or expression can be lazy, but a call such as df.value.mean() computes its result by default. Assigning that result to a second variable does not defer the calculation. To schedule supported statistics, request delay=True, execute the dataset and then obtain each resolved result.

Read a CSV and schedule two statistics

The input path is a local CSV with a numeric value column. Confirm its schema, null and missing-value treatment, units, and data provenance before interpreting the results. This example assumes the column is nonempty and contains finite values; its mean and sum are computed over all rows.

import vaex

df = vaex.open(str(input_csv))
mean_job = df.value.mean(delay=True)
sum_job = df.value.sum(delay=True)
df.execute()
mean_value = float(mean_job.get())
sum_value = float(sum_job.get())

Vaex's CSV reader may inspect the input to infer metadata before later calculations. Batching these two delayed operations can reduce repeated passes, but actual memory use and performance depend on the input, operations and environment. Measure them before claiming larger-than-memory behavior.

vaex-core 4.19.0 declares Python >=3.9,<3.13 and constrains Dask below 2024.9. Use a separately resolved environment when those requirements conflict with other tools. Its aplus dependency was available only as a source distribution in the tested environment; the published package metadata did not declare a license, so review redistribution terms separately.

04 同仓库更多 Skills

strmt7
strmt7/ai_skills_collection_benchmarked

makefile-generator-project-wrappers

Repair Python, Java and generic GNU Make wrappers that report false success, miss changed inputs or clean dependency environments. Preserve the actual project build system and test runner; use when adapting the collection's original Makefile generator.

★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

makefile-generator-go

Author or repair GNU Make wrappers for Go modules, retaining Go's dependency discovery and build cache. Use when wrapper timestamps hide embedded-resource changes or build failures; preserve the project's existing build system and real test commands.

★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

strategic-compact-resume

Checkpoint and resume long agent work when context pressure or a handoff could lose constraints, verified progress, or ownership of active jobs.

★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

makefile-generator-cpp

Author or repair GNU Make builds for C++ executables, preserving compiler/linker flags, header dependencies and real project test contracts. Use the optional scaffold for a flat src directory; retain an existing build system unless the task requires changing it.

★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

eval-harness-integrity

Design and verify matched coding-agent evaluations when comparing skills, prompts, models, or harnesses using executable acceptance checks and native result evidence.

★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

eval-harness-evidence

Design and verify matched coding-agent evaluations when comparing skills, prompts, models, or harnesses using executable acceptance checks and native result evidence.

★ 1