[Feature] 透视表支持指标嵌套列维度
Open
Nobody has claimed this yet.
feature
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
What problem does this feature solve?
对于透视表而言,根据列维度看多指标对比,和同一指标内部看多个维度值场景同时存在,目前只看到前者
What does the proposed API look like?
当指标在列维度时候,
列维度和指标,同时共用字段{ index_level }, 来决定列维度和指标的顺序,类似pandas的MultiIndex的类似逻辑
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing pivot-table handling for column dimensions and multi-metric comparisons, then relate it to the proposed shared index_level behavior and the pandas MultiIndex analogy. Done should be a documented API design and an implementation that supports nested metric and column-dimension ordering, with coverage for both comparison scenarios.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100