pull_requests: 1808774743
This data as json
id | node_id | number | state | locked | title | user | body | created_at | updated_at | closed_at | merged_at | merge_commit_sha | assignee | milestone | draft | head | base | author_association | auto_merge | repo | url | merged_by |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1808774743 | PR_kwDOAMm_X85rz7ZX | 8911 | open | 0 | Refactor swap dims | 4160723 | <!-- Feel free to remove check-list items aren't relevant to your change --> - [ ] Attempt at fixing #8646 - [ ] Tests added - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [ ] New functions/methods are listed in `api.rst` I've tried here re-implementing `swap_dims` using `rename_dims`, `drop_indexes` and `set_xindex`. This fixes the example in #8646 but unfortunately this fails at handling the pandas multi-index special case (i.e., a single non-dimension coordinate wrapping a `pd.MultiIndex` that is promoted to a dimension coordinate in `swap-dims` auto-magically results in a `PandasMultiIndex` with both dimension and level coordinates). | 2024-04-05T08:45:49Z | 2024-04-17T16:46:34Z | 36231f3beea60c788054877f91689d3469f84cbc | 1 | 4102b9f67e5c28b85a154cf7ff0749e1f8f1a258 | 56182f73c56bc619a18a9ee707ef6c19d54c58a2 | MEMBER | 13221727 | https://github.com/pydata/xarray/pull/8911 |
Links from other tables
- 0 rows from pull_requests_id in labels_pull_requests