Re-think use of MultiIndex in `to_xarray_dataset`
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by inspecting the to_xarray_dataset method and tracing how repeated axis values lead to a pandas index or MultiIndex and how coordinates become data variables. Determine which cases require an index, then define the expected xarray dataset structure and document the cases that should be covered before implementation.
Written by the indexing model from the issue text.
Description
The to_xarray_dataset method, by default, will create a MultiIndex if there are repeated values along any axis, and will then convert all coords to data_vars. This can cause problems in the expected xarray dataset structure.
We should re-think what cases really need a pandas index or a MultiIndex to minimize these unexpected issues.
- Dominant language
- Python
- Stars
- 459
- Forks
- 359
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 82
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.
More from microsoft/Qcodes
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
Difficulty 5/5 Over a week Newbie friendliness 48/100
All issues in microsoft/Qcodes
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Openarea: ci bug perceived difficulty: 3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ClickHouse/clickhouse-connect#1057 ·