From Claude-Data-Wrangler
Audit numeric columns for inconsistent decimal precision (e.g. some values at 4 dp, others at 2 dp) and round all values to a user-chosen precision. Use before SQL load or publishing when mixed precision would otherwise produce awkward `NUMERIC(x, y)` choices or misleading implied precision.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin Claude-Data-WranglerThis skill uses the workspace's default tool permissions.
Bring numeric columns to a single, consistent decimal precision across the dataset.
Conducts multi-round deep research on GitHub repos via API and web searches, generating markdown reports with executive summaries, timelines, metrics, and Mermaid diagrams.
Share bugs, ideas, or general feedback.
Bring numeric columns to a single, consistent decimal precision across the dataset.
1.2345 alongside 1.23).NUMERIC(p, s) precision.float64, float32, or object columns parseable as numeric — delegate to text-to-numeric first if they are strings).85% at 4 dp, 15% at 2 dp).geodata-formatter if coordinates are the target.ROUND_HALF_EVEN) by default for statistical neutrality; offer ROUND_HALF_UP if the user prefers (common in finance).<name>_rounded.csv (or Parquet if the source was Parquet) — do not overwrite the source.update-data-dictionary or add-data-dictionary if none exists.pip install pandas
For exact decimal rounding (finance), use Python's decimal.Decimal rather than float rounding — floats cannot represent e.g. 0.1 exactly. Offer this when the column is currency.
1.1 + 2.2 == 3.3000000000000003) — rounding fixes these; note in the report.enrich-with-currency to split first.1.2e-8) — absolute decimal-place rounding destroys them; use significant-figure rounding instead and note it.-0.0) — normalise to 0.0 in the output.1.0, 2.0, …) — offer to cast to Int64 (nullable int) rather than round.