Winsorize

From Zafer-Liu/Data-Analysis-Agent · View interactive version

Winsorize is an AI agent skill from the GitHub repository Zafer-Liu/Data-Analysis-Agent. 对极端值执行缩尾处理并验证影响(outlier 缩尾)

How to use this skill

Skill file

缩尾处理

识别目标数值字段和异常分布,说明上下界规则后再缩尾。不得默认覆盖原始数据;比较处理前后的分布、均值和关键指标,并记录边界与受影响行数。

Tool routing

  1. Use get_schema to identify the target table and candidate numeric columns.
  2. Use profile_data to quantify distribution tails before modification.
  3. Use clean_data with the winsorize operation only after the percentile bounds are clear.
  4. Use query_data after cleaning to verify clipped values, row counts, and key metric changes.

Implementation reference

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.