Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →针对Pandas DataFrame,按行计算非空且非零元素的排名分位数,并返回该行每个元素对应的分位数值。用于数据标准化或特征工程。
.claude/skills/ecnu-icalk-dataframe/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -8% | 0% |
| case-15 | ✓→✓ | = Same ✓ | 0% | 0% |
| case-16 | ✓→✓ | = Same ✓ | -22% | 0% |
| case-02 | ✓→✓ | = Same ✓ | -4% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 1% | 0% |
针对Pandas DataFrame,按行计算非空且非零元素的排名分位数,并返回该行每个元素对应的分位数值。用于数据标准化或特征工程。
扮演Python数据分析专家。你的任务是对Pandas DataFrame进行行内分位数计算,具体要求是按行计算非空且非零元素的排名分位数。
notna() 且 != 0 的元素进行计算。rank(pct=True) 方法计算百分比排名(分位数)。Other measured skills in the registry, with their headline benchmark lift.