home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1007746043

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/6142#issuecomment-1007746043 https://api.github.com/repos/pydata/xarray/issues/6142 1007746043 IC_kwDOAMm_X848EPv7 10194086 2022-01-07T21:15:23Z 2022-01-07T21:15:23Z MEMBER

I agree this is confusing, what is meant here is to use a tuple as the name for one dimension. An example:

python ds = xr.Dataset({"x": ([("a", "b")], [1])}) print(ds) print(f"{ds.x.dims = }")

```python <xarray.Dataset> Dimensions: (('a', 'b'): 1) Dimensions without coordinates: ('a', 'b') Data variables: x (('a', 'b')) int64 1

ds.x.dims = (('a', 'b'),) ```


I found the issue again where we discussed that we want to keep dim: Hashable: #4821

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1094725752
Powered by Datasette · Queries took 1.019ms · About: xarray-datasette