ワンクリックで
column-calculator
Compute derived columns from existing data using arithmetic operations (sum, diff, ratio, multiply).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Compute derived columns from existing data using arithmetic operations (sum, diff, ratio, multiply).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Validate tabular data against configurable business rules — range checks, cross-column constraints, referential integrity against lookup tables, and temporal consistency.
Load and parse CSV files into structured data frames with configurable encoding, delimiter, and date parsing options.
Export pandas DataFrames or processed datasets to well-formatted CSV files with configurable encoding, delimiter, quoting, and column ordering.
Aggregate tabular data by one or more dimensions with configurable metrics — sum, mean, count, min, max, median. Supports multi-level grouping and pivot table generation.
Comprehensive data cleaning toolkit — handles missing values, duplicate removal, type coercion, whitespace trimming, and outlier detection in a single pass over the dataset.
Identify and remove duplicate records from tabular datasets using exact-match, fuzzy-match, or composite-key-based deduplication strategies.
| name | column-calculator |
| description | Compute derived columns from existing data using arithmetic operations (sum, diff, ratio, multiply). |
| version | 1.0.0 |
Takes a JSON records file and computes a new derived column by applying an arithmetic operation to two existing columns. Supports four operation types: sum, diff, ratio, and multiply.
--input / -i: Path to JSON records file (required)--calc: Calculation type: sum, diff, ratio, multiply (required)--columns: Two source column names, comma-separated (required)--result-name: Name for the new column (default: calculated)--output / -o: Output directory (required)| Type | Formula | Notes |
|---|---|---|
sum | col_a + col_b | Numeric addition |
diff | col_a - col_b | Numeric subtraction |
ratio | col_a / col_b | Division; returns 0 if b==0 |
multiply | col_a * col_b | Numeric multiplication |
transformed_data.jsontransformed_data.json: Input records with new derived column appendedpython3 column-calculator/calculator.py -i <file> --calc ratio --columns price,cost -o <dir>json, argparse, os)